// // sub_10024A560 from 0x10024a560 to 0x10024a604 (164 bytes) // // 1 xrefs: // > @ 0x1007cd2c8 // // 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 // _QWORD *__fastcall sub_10024A560(__int64 a1) { _QWORD *v2; // x19 unsigned int v3; // w8 __int64 v4; // x21 unsigned int *v5; // x9 __int64 v6; // x8 __int64 (__fastcall ****v7)(_QWORD, _QWORD); // x21 unsigned __int64 v8; // x22 cocos2d::CCObject *v9; // x20 v2 = operator new(0x40u); sub_10024A094((__int64)v2); v3 = **(_DWORD **)(a1 + 56); if ( v3 <= 1 ) v4 = 1; else v4 = v3; sub_100353504(v2 + 7); v2[7] = sub_1003534B8(v4); v5 = *(unsigned int **)(a1 + 56); v6 = *v5; if ( (_DWORD)v6 ) { v7 = *((__int64 (__fastcall *****)(_QWORD, _QWORD))v5 + 2); v8 = (unsigned __int64)&v7[v6 - 1]; do { if ( !*v7 ) break; v9 = (cocos2d::CCObject *)sub_10008496C(*v7); sub_100353730(v2[7]); cocos2d::CCObject::release(v9); ++v7; } while ( (unsigned __int64)v7 <= v8 ); } return v2; }
GD Web Decomp Icon

GD Web Decomp

Raw Source