// // GameStatsManager::getItemUnlockState from 0x1402e9730 to 0x1402e9808 (216 bytes) // // 4 xrefs: // > CharacterColorPage::updateColorMode @ 0x1400a2359 // > GJGarageLayer::setupSpecialPage @ 0x14037f8d8 // > ItemInfoPopup::init @ 0x140384cb8 // > @ 0x14091e08c // // This function is hookable on this platform (idp: pc, 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:29:51 +0000 // // Hidden C++ exception states: #wind=1 __int64 __fastcall GameStatsManager::getItemUnlockState(__int64 a1, signed int a2, signed int a3) { _QWORD *ItemKey; // rax __int64 v7; // rsi __int64 *v9; // r8 __int64 *v10; // rax char v11; // dl __int64 *v12; // rcx _QWORD v13[4]; // [rsp+20h] [rbp-48h] BYREF ItemKey = GameStatsManager::getItemKey(a1, v13, a2, a3); v7 = cocos2d::CCDictionary::objectForKey(*(_QWORD *)(a1 + 936), ItemKey); sub_14003D310((__int64)v13); if ( v7 ) return (*(__int64 (__fastcall **)(__int64))(*(_QWORD *)v7 + 56LL))(v7); v9 = *(__int64 **)(a1 + 976); v10 = (__int64 *)v9[1]; if ( !*((_BYTE *)v10 + 25) ) { do { if ( *((_DWORD *)v10 + 7) < a3 || *((_DWORD *)v10 + 7) <= a3 && *((_DWORD *)v10 + 8) < a2 ) { v11 = 1; } else { v11 = 0; v9 = v10; } v12 = v10 + 2; if ( !v11 ) v12 = v10; v10 = (__int64 *)*v12; } while ( !*(_BYTE *)(*v12 + 25) ); } if ( *((_BYTE *)v9 + 25) || a3 < *((_DWORD *)v9 + 7) || a3 <= *((_DWORD *)v9 + 7) && a2 < *((_DWORD *)v9 + 8) ) return 0; else return 3; }
GD Web Decomp Icon

GD Web Decomp

Raw Source