// // sub_10056EB70 from 0x10056eb70 to 0x10056ebd6 (102 bytes) // // 0 xrefs: // // 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 // void __fastcall sub_10056EB70(__int64 a1) { _QWORD *v1; // rax cocos2d::CCDirector *v2; // rax cocos2d::CCScheduler *v3; // rax cocos2d::CCObject::CCObject(a1); *(_QWORD *)a1 = off_1009641C0; v1 = operator new(0x18u); *v1 = v1; v1[1] = v1; v1[2] = 0; *(_QWORD *)(a1 + 56) = v1; pthread_mutex_init((pthread_mutex_t *)(a1 + 64), nullptr); v2 = cocos2d::CCDirector::sharedDirector(); v3 = (cocos2d::CCScheduler *)((__int64 (__fastcall *)(cocos2d::CCDirector *))v2->getScheduler)(v2); cocos2d::CCScheduler::scheduleUpdateForTarget(v3, (cocos2d::CCObject *)a1, 0, 0); }
GD Web Decomp Icon

GD Web Decomp

Raw Source