// // sub_1002D0D94 from 0x1002d0d94 to 0x1002d0e20 (140 bytes) // // 1 xrefs: // > @ 0x1007d7ae8 // // This function is hookable on this platform! // // Using BromaIDA 8.0.0 @ https://github.com/Stazzical/BromaIDA // Using bindings at commit ba9f177b at Thu Jul 16 22:52:06 2026 from https://github.com/geode-sdk/bindings // __int64 __fastcall sub_1002D0D94(__int64 a1, __int64 a2) { __int64 result; // x0 int v4; // w8 result = (*(__int64 (__fastcall **)(__int64))(*(_QWORD *)a2 + 64LL))(a2); if ( (unsigned int)result <= 0x34 ) { if ( ((1LL << result) & 0x3C0) != 0 ) { v4 = 3; } else if ( ((1LL << result) & 0x14000000000C00LL) != 0 ) { v4 = 1; } else { if ( ((1LL << result) & 0x3000) == 0 ) return result; v4 = 2; } *(_DWORD *)(*(_QWORD *)(a1 + 120) + 548LL) = v4; } return result; }
GD Web Decomp Icon

GD Web Decomp

Raw Source