// // cocos2d::CCCallFunc::copyWithZone from 0x1008904f0 to 0x1008905bb (203 bytes) // // 4 xrefs: // > cocos2d::CCCallFuncN::copyWithZone @ 0x1008908c4 // > cocos2d::CCCallFuncND::copyWithZone @ 0x100890b44 // > cocos2d::CCCallFuncO::copyWithZone @ 0x100890f7f // > @ 0x100ba7418 // // This function is hookable on this platform (idp: pc, 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 12:37:04 +0000 // char *__fastcall cocos2d::CCCallFunc::copyWithZone(__int64 a1, void **a2) { char *v2; // rbx void **v3; // r15 _QWORD *v4; // rax if ( a2 && (v2 = (char *)*a2) != nullptr ) { v3 = nullptr; } else { v2 = (char *)operator new(0x78u); cocos2d::CCAction::CCAction((__int64)v2); *((_DWORD *)v2 + 20) = 0; *(_QWORD *)v2 = off_100BA7418; *((_QWORD *)v2 + 11) = 0; *((_DWORD *)v2 + 24) = 0; *(_OWORD *)(v2 + 104) = 0; v3 = (void **)operator new(8u); cocos2d::CCZone::CCZone(v3, (__int64)v2); a2 = v3; } cocos2d::CCActionInstant::copyWithZone(a1, a2); (*(void (__fastcall **)(char *, _QWORD))(*(_QWORD *)v2 + 120LL))(v2, *(_QWORD *)(a1 + 88)); *(_OWORD *)(v2 + 104) = *(_OWORD *)(a1 + 104); if ( *(int *)(a1 + 96) > 0 ) { v4 = cocos2d::CCScriptEngineManager::sharedManager(); *((_DWORD *)v2 + 24) = (*(__int64 (__fastcall **)(_QWORD, _QWORD))(*(_QWORD *)*v4 + 40LL))( *v4, *(unsigned int *)(a1 + 96)); } if ( v3 ) operator delete(v3); return v2; }
GD Web Decomp Icon

GD Web Decomp

Raw Source