// // sub_100372284 from 0x100372284 to 0x10037236c (232 bytes) // // 1 xrefs: // > GJOptionsLayer::addToggleInternal @ 0x100371e84 // // 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:03:23 +0000 // void *__fastcall sub_100372284(__int64 a1, int a2) { __int64 v4; // x19 void *v5; // x0 char *CString; // x0 __int64 v7; // x0 void *v8; // x19 __int64 v9; // x21 void *v10; // x0 char *v11; // x0 void *__p[2]; // [xsp+8h] [xbp-38h] BYREF char v14; // [xsp+1Fh] [xbp-21h] v4 = *(_QWORD *)(a1 + 1040); v5 = sub_1003065B0("layer_%i", a2); CString = (char *)cocos2d::CCString::getCString((__int64)v5); sub_100009900(__p, CString); v7 = cocos2d::CCDictionary::objectForKey(v4, __p); v8 = (void *)v7; if ( v14 < 0 ) { operator delete(__p[0]); if ( v8 ) return v8; } else if ( v7 ) { return v8; } v8 = cocos2d::CCLayer::create(); (*(void (__fastcall **)(_QWORD, void *))(**(_QWORD **)(a1 + 584) + 456LL))(*(_QWORD *)(a1 + 584), v8); v9 = *(_QWORD *)(a1 + 1040); v10 = sub_1003065B0("layer_%i", a2); v11 = (char *)cocos2d::CCString::getCString((__int64)v10); sub_100009900(__p, v11); cocos2d::CCDictionary::setObject(v9, v8, __p); if ( v14 < 0 ) operator delete(__p[0]); return v8; }
GD Web Decomp Icon

GD Web Decomp

Raw Source