// // GameManager::isIconLoaded from 0x720afc to 0x720c10 (276 bytes) // // 3 xrefs: // > SimplePlayer::asyncLoadIcon @ 0x8bcf10 // > GJItemIcon::init @ 0x8bdd40 // > @ 0xadec0 // // This function is hookable on this platform (idp: arm, 32 bit: False, 64 bit: True! // // Using BromaIDA 8.3.0 @ https://github.com/Stazzical/BromaIDA // Using bindings at commit 1c6ec395 at Thu Nov 26 21:29:22 2026 from https://github.com/geode-sdk/bindings // Generated at Fri, 27 Nov 2026 12:52:23 +0000 // bool __fastcall GameManager::isIconLoaded(__int64 **this, int a2, int a3) { __int64 **v4; // x23 int v5; // w0 __int64 v6; // x19 int v7; // w20 int v8; // w0 bool v9; // cc __int64 v10; // x0 int v11; // w0 __int64 *v12; // x1 __int64 *v13; // x0 __int64 **v15; // [xsp+40h] [xbp+40h] v4 = this + 146; v5 = GameManager::keyForIcon((GameManager *)this, a2, a3); v6 = (__int64)*(this + 146); v7 = v5; if ( v6 ) { v8 = *(_DWORD *)(v6 + 28); v9 = v7 <= v8; if ( v7 >= v8 ) goto LABEL_5; while ( 1 ) { v10 = *(_QWORD *)v6; if ( !*(_QWORD *)v6 ) break; while ( 1 ) { v6 = v10; v11 = *(_DWORD *)(v10 + 28); v9 = v7 <= v11; if ( v7 < v11 ) break; LABEL_5: if ( v9 ) return *(_DWORD *)(v6 + 32) > 0; v10 = *(_QWORD *)(v6 + 8); if ( !v10 ) { v15 = (__int64 **)v6; v4 = (__int64 **)(v6 + 8); goto LABEL_9; } } } v15 = (__int64 **)v6; v4 = (__int64 **)v6; } else { v15 = v4; } LABEL_9: v6 = operator new(0x28u); *(_QWORD *)v6 = 0; v12 = (__int64 *)v6; *(_DWORD *)(v6 + 28) = v7; *(_DWORD *)(v6 + 32) = 0; *(_QWORD *)(v6 + 8) = 0; *(_QWORD *)(v6 + 16) = v15; *v4 = (__int64 *)v6; v13 = (__int64 *)**(this + 145); if ( v13 ) { *(this + 145) = v13; v12 = *v4; } std::__tree_balance_after_insert *>(*(this + 146), v12); *(this + 147) = (__int64 *)((char *)*(this + 147) + 1); return *(_DWORD *)(v6 + 32) > 0; }
GD Web Decomp Icon

GD Web Decomp

Raw Source