// // cocos2d::CCCallFunc::copyWithZone from 0x100242b84 to 0x100242c64 (224 bytes) // // 3 xrefs: // > sub_100242E30 @ 0x100242ec0 // > cocos2d::CCCallFuncO::copyWithZone @ 0x10024316c // > @ 0x1009061c8 // // 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:01:25 +0000 // char *__fastcall cocos2d::CCCallFunc::copyWithZone(__int64 a1, void **a2) { void **v3; // x22 char *v4; // x19 void **v5; // x21 __int64 v6; // x0 _QWORD *v7; // x0 if ( a2 && (v3 = a2, (v4 = (char *)*a2) != nullptr) ) { v5 = nullptr; } else { v4 = (char *)operator new(0x78u); cocos2d::CCAction::CCAction(); *((_DWORD *)v4 + 20) = 0; *(_QWORD *)v4 = off_1009061C8; *((_QWORD *)v4 + 11) = 0; *((_DWORD *)v4 + 24) = 0; *((_QWORD *)v4 + 13) = 0; *((_QWORD *)v4 + 14) = 0; v3 = (void **)operator new(8u); cocos2d::CCZone::CCZone(v3, v4); v5 = v3; } cocos2d::CCActionInstant::copyWithZone(a1, v3); v6 = (*(__int64 (__fastcall **)(char *, _QWORD))(*(_QWORD *)v4 + 120LL))(v4, *(_QWORD *)(a1 + 88)); *(_OWORD *)(v4 + 104) = *(_OWORD *)(a1 + 104); if ( *(int *)(a1 + 96) >= 1 ) { v7 = (_QWORD *)cocos2d::CCScriptEngineManager::sharedManager(v6); *((_DWORD *)v4 + 24) = (*(__int64 (__fastcall **)(_QWORD, _QWORD))(*(_QWORD *)*v7 + 40LL))( *v7, *(unsigned int *)(a1 + 96)); } if ( v5 ) operator delete(v5); return v4; }
GD Web Decomp Icon

GD Web Decomp

Raw Source