// // GameStatsManager::getItemUnlockState from 0x1003d4660 to 0x1003d471c (188 bytes) // // 3 xrefs: // > CharacterColorPage::updateColorMode @ 0x100153938 // > GJGarageLayer::setupSpecialPage @ 0x1003a21a8 // > ItemInfoPopup::init @ 0x1003a5418 // // 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 11:04:12 +0000 // __int64 __fastcall GameStatsManager::getItemUnlockState(__int64 a1, __int64 a2, __int64 a3) { int v3; // w19 int v4; // w20 __int64 v6; // x22 __int64 v7; // x0 __int64 v8; // x22 __int64 *v10; // x8 int v11; // w9 int v12; // w9 void *__p[2]; // [xsp+8h] [xbp-38h] BYREF char v14; // [xsp+1Fh] [xbp-21h] v3 = a3; v4 = a2; v6 = *(_QWORD *)(a1 + 832); sub_1003C9AA8(a2, a3, __p); v7 = cocos2d::CCDictionary::objectForKey(v6, __p); v8 = v7; if ( v14 < 0 ) { operator delete(__p[0]); if ( v8 ) return (*(__int64 (__fastcall **)(__int64))(*(_QWORD *)v8 + 64LL))(v8); } else if ( v7 ) { return (*(__int64 (__fastcall **)(__int64))(*(_QWORD *)v8 + 64LL))(v8); } v10 = *(__int64 **)(a1 + 896); if ( v10 ) { while ( 1 ) { v11 = *((_DWORD *)v10 + 7); if ( v11 <= v3 ) { if ( v11 < v3 ) goto LABEL_11; v12 = *((_DWORD *)v10 + 8); if ( v12 <= v4 ) break; } LABEL_12: v10 = (__int64 *)*v10; if ( !v10 ) return 0; } if ( v12 >= v4 ) return 3; LABEL_11: ++v10; goto LABEL_12; } return 0; }
GD Web Decomp Icon

GD Web Decomp

Raw Source