// // sub_10031E4E8 from 0x10031e4e8 to 0x10031e550 (104 bytes) // // 2 xrefs: // > GameManager::unloadIcon @ 0x100317efc // > GameManager::unloadIcons @ 0x1003180fc // // 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_10031E4E8(__int64 a1, int *a2) { __int64 v2; // x10 int v3; // w9 __int64 v4; // x1 v2 = *(_QWORD *)(a1 + 8); if ( !v2 ) return 0; v3 = *a2; v4 = a1 + 8; do { if ( *(_DWORD *)(v2 + 32) >= v3 ) v4 = v2; v2 = *(_QWORD *)(v2 + 8LL * (*(_DWORD *)(v2 + 32) < v3)); } while ( v2 ); if ( v4 == a1 + 8 || v3 < *(_DWORD *)(v4 + 32) ) return 0; sub_10031E550(); return 1; }
GD Web Decomp Icon

GD Web Decomp

Raw Source