// // sub_1002422F0 from 0x1002422f0 to 0x100242394 (164 bytes) // // 1 xrefs: // > sub_100241B28 @ 0x100241b54 // // 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 sub_1002422F0(__int64 a1, cocos2d::CCObject *a2) { __int64 v4; // x0 __int64 v5; // x8 int v6; // w9 v4 = cocos2d::CCObject::CCObject(a1); *(_OWORD *)(v4 + 72) = 0u; *(_QWORD *)(v4 + 128) = 0; *(_QWORD *)v4 = off_1007CA638; *(_QWORD *)(v4 + 136) = 0; *(_QWORD *)(v4 + 144) = 0; *(_OWORD *)(v4 + 88) = 0u; *(_OWORD *)(v4 + 104) = 0u; *(_QWORD *)(v4 + 56) = a2; if ( !a2 ) { *(_BYTE *)(a1 + 64) = 0; *(_QWORD *)(a1 + 80) = 0; goto LABEL_5; } cocos2d::CCObject::retain(a2); v5 = *(_QWORD *)(a1 + 72); v6 = *(char *)(a1 + 151); *(_BYTE *)(a1 + 64) = 0; *(_QWORD *)(a1 + 80) = v5; if ( (v6 & 0x80000000) == 0 ) { LABEL_5: *(_BYTE *)(a1 + 128) = 0; *(_BYTE *)(a1 + 151) = 0; return a1; } **(_BYTE **)(a1 + 128) = 0; *(_QWORD *)(a1 + 136) = 0; return a1; }
GD Web Decomp Icon

GD Web Decomp

Raw Source