{"name": "AcpiExDigitsNeeded", "code": "__int64 __fastcall AcpiExDigitsNeeded ( __int64 @@a1@@ , unsigned int @@a2@@ ) { __int64 @@result@@ ; unsigned int @@v3@@ ; __int64 @@v4@@ ; unsigned int @@v5@@ ; AcpiUtTrace ( Number L , String , String , Number L ) ; if ( @@a1@@ ) { @@v4@@ = @@a1@@ ; @@v5@@ = Number ; while ( @@v4@@ ) { AcpiUtShortDivide ( @@v4@@ , @@a2@@ , & @@v4@@ , Number L ) ; ++ @@v5@@ ; } @@v3@@ = @@v5@@ ; AcpiUtValueExit ( Number L , String , String , Number L , @@v5@@ ) ; @@result@@ = @@v3@@ ; } else { AcpiUtValueExit ( Number L , String , String , Number L , Number L ) ; @@result@@ = Number L ; } return @@result@@ ; }", "source": [{"n": "v3", "t": {"T": 1, "n": "unsigned int", "s": 4}, "location": "r32"}, {"n": "a1", "t": {"T": 1, "n": "__int64", "s": 8}, "location": "r56"}, {"n": "a2", "t": {"T": 1, "n": "unsigned int", "s": 4}, "location": "r64"}, {"n": "result", "t": {"T": 1, "n": "__int64", "s": 8}, "location": "r8"}, {"n": "v5", "t": {"T": 1, "n": "unsigned int", "s": 4}, "location": "s20"}, {"n": "v4", "t": {"T": 1, "n": "__int64", "s": 8}, "location": "s32"}]}
{"name": "AcpiExIntegerToString", "code": "_BYTE * __fastcall AcpiExIntegerToString ( __int64 @@a1@@ , __int64 @@a2@@ ) { _BYTE * @@result@@ ; __int64 @@v3@@ ; __int64 @@v4@@ ; int @@v5@@ ; unsigned int @@v6@@ ; unsigned int @@i@@ ; @@v4@@ = @@a1@@ ; @@v3@@ = @@a2@@ ; AcpiUtTrackStackPtr ( ) ; @@v6@@ = AcpiExDigitsNeeded ( @@a2@@ , Number ) ; * ( _BYTE * ) ( @@v6@@ + @@a1@@ ) = Number ; @@result@@ = ( _BYTE * ) @@v6@@ ; for ( @@i@@ = @@v6@@ ; @@i@@ ; -- @@i@@ ) { AcpiUtShortDivide ( @@v3@@ , Number L , & @@v3@@ , & @@v5@@ ) ; @@result@@ = ( _BYTE * ) ( @@i@@ - Number + @@v4@@ ) ; * @@result@@ = @@v5@@ + Number ; } return @@result@@ ; }", "source": [{"n": "a1", "t": {"T": 1, "n": "__int64", "s": 8}, "location": "r56"}, {"n": "a2", "t": {"T": 1, "n": "__int64", "s": 8}, "location": "r64"}, {"n": "result", "t": {"T": 3, "t": "_BYTE"}, "location": "r8"}, {"n": "v5", "t": {"T": 1, "n": "int", "s": 4}, "location": "s12"}, {"n": "v4", "t": {"T": 1, "n": "__int64", "s": 8}, "location": "s24"}, {"n": "v3", "t": {"T": 1, "n": "__int64", "s": 8}, "location": "s32"}, {"n": "i", "t": {"T": 1, "n": "unsigned int", "s": 4}, "location": "s4"}, {"n": "v6", "t": {"T": 1, "n": "unsigned int", "s": 4}, "location": "s8"}]}