// // cocos2d::CCUserDefault::getIntegerForKey from 0x1800a2700 to 0x1800a2774 (116 bytes) // // 3 xrefs: // > cocos2d::CCUserDefault::getIntegerForKey @ 0x1800a26f3 // > @ 0x18014cf68 // > @ 0x1801c18a8 // // 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:22:14 +0000 // __int64 __fastcall cocos2d::CCUserDefault::getIntegerForKey(cocos2d::CCUserDefault *this, char *a2, unsigned int a3) { const char *Str; // rbx __int64 v5; // rax __int64 v6; // rcx __int64 v8; // [rsp+58h] [rbp+20h] Str = nullptr; v5 = sub_1800A2AE0(a2); if ( v5 ) { v6 = *(_QWORD *)(v5 + 48); if ( v6 ) Str = tinyxml2::StrPair::GetStr((tinyxml2::StrPair *)(v6 + 24)); } if ( Str ) a3 = atoi(Str); if ( v8 ) (*(void (__fastcall **)(__int64, __int64))(*(_QWORD *)v8 + 128LL))(v8, 1); return a3; }
GD Web Decomp Icon

GD Web Decomp

Raw Source