// // cocos2d::CCUserDefault::getIntegerForKey from 0x18009ea60 to 0x18009ead1 (113 bytes) // // 3 xrefs: // > cocos2d::CCUserDefault::getIntegerForKey @ 0x18009ea53 // > @ 0x1801438a8 // > @ 0x1801b7608 // // 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 cocos2d::CCUserDefault::getIntegerForKey( cocos2d::CCUserDefault *this, const char *a2, unsigned int a3) { const char *Str; // rdi __int64 v5; // rax __int64 v6; // rcx _BYTE v8[24]; // [rsp+20h] [rbp-18h] BYREF __int64 v9; // [rsp+58h] [rbp+20h] BYREF Str = nullptr; v5 = sub_18009EE00(a2, v8, &v9); if ( v5 ) { v6 = *(_QWORD *)(v5 + 48); if ( v6 ) Str = tinyxml2::StrPair::GetStr((tinyxml2::StrPair *)(v6 + 24)); } if ( Str ) a3 = atoi(Str); if ( v9 ) (*(void (__fastcall **)(__int64, __int64))(*(_QWORD *)v9 + 128LL))(v9, 1); return a3; }
GD Web Decomp Icon

GD Web Decomp

Raw Source