// // sub_1003C5340 from 0x1003c5340 to 0x1003c5460 (288 bytes) // // 1 xrefs: // > GameStatsManager::init @ 0x1003c3394 // // 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:04 +0000 // __int64 __fastcall sub_1003C5340(__int64 result) { __int64 v1; // x19 __int64 v2; // x0 __int64 v3; // x0 __int64 v4; // x0 __int64 v5; // x8 __int64 v6; // x24 __int64 v7; // x25 __int64 v8; // x21 unsigned int v9; // w22 _DWORD *v10; // x0 __int64 v11; // x23 void *v12; // x0 void *__p[2]; // [xsp+8h] [xbp-58h] BYREF char v14; // [xsp+1Fh] [xbp-41h] if ( !*(_QWORD *)(result + 352) ) { v1 = result; v2 = cocos2d::CCDictionary::create(result); *(_QWORD *)(v1 + 352) = v2; v3 = cocos2d::CCObject::retain(v2); v4 = cocos2d::CCDictionary::create(v3); *(_QWORD *)(v1 + 344) = v4; cocos2d::CCObject::retain(v4); result = sub_1003D5318(v1); v5 = *(_QWORD *)(v1 + 344); if ( v5 ) { v6 = *(_QWORD *)(v5 + 56); while ( v6 ) { v7 = *(_QWORD *)(v6 + 264); v6 = *(_QWORD *)(v6 + 288); if ( v7 ) { v8 = *(_QWORD *)(v7 + 72); if ( v8 ) { result = sub_1002E757C(*(_QWORD *)(v7 + 72)); if ( (_DWORD)result ) { v9 = 0; do { v10 = (_DWORD *)sub_1002E75A0(v8, v9); if ( v10[14] == 9 ) { sub_1003C9AA8(__p, v10, (unsigned int)v10[16], (unsigned int)v10[15]); cocos2d::CCDictionary::objectForKey(*(_QWORD *)(v1 + 352), __p); v11 = *(_QWORD *)(v1 + 352); v12 = sub_1003065B0("%i", *(_DWORD *)(v7 + 56)); cocos2d::CCDictionary::setObject(v11, v12, __p); if ( v14 < 0 ) operator delete(__p[0]); } ++v9; result = sub_1002E757C(v8); } while ( v9 < (unsigned int)result ); } } } } } } return result; }
GD Web Decomp Icon

GD Web Decomp

Raw Source