// // sub_10056EBF0 from 0x10056ebf0 to 0x10056ec8b (155 bytes) // // 2 xrefs: // > sub_10056ECA0 @ 0x10056eca5 // > sub_10056ECB0 @ 0x10056ecb9 // // 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 // cocos2d::CCScriptEngineManager *__fastcall sub_10056EBF0(cocos2d::CCObject *a1) { cocos2d::CCDirector *v2; // rax cocos2d::CCScheduler *v3; // rax cocos2d::CCObject_vtbl *v4; // r14 void (__cdecl *v5)(cocos2d::CCObject *__hidden); // rdi _QWORD *v6; // rax __int64 v7; // rcx cocos2d::CCObject_vtbl *v8; // r15 a1->__vftable = (cocos2d::CCObject_vtbl *)off_1009641C0; v2 = cocos2d::CCDirector::sharedDirector(); v3 = (cocos2d::CCScheduler *)((__int64 (__fastcall *)(cocos2d::CCDirector *))v2->getScheduler)(v2); cocos2d::CCScheduler::unscheduleAllForTarget(v3, a1); v4 = a1[1].__vftable; if ( v4 ) { if ( v4->~CCObject_0 ) { v5 = v4->~CCObject; v6 = *((_QWORD **)v4->copyWithZone + 1); v7 = *(_QWORD *)v5; *(_QWORD *)(v7 + 8) = v6; *v6 = v7; v4->~CCObject_0 = nullptr; if ( (char *)v5 != (char *)v4 ) { do { v8 = *((cocos2d::CCObject_vtbl **)v5 + 1); operator delete(v5); v5 = (void (__cdecl *)(cocos2d::CCObject *__hidden))v8; } while ( v8 != v4 ); } } operator delete(v4); } return cocos2d::CCObject::dCCObject(a1); }
GD Web Decomp Icon

GD Web Decomp

Raw Source