// // cocos2d::CCLayerMultiplex::initWithArray from 0x18004ffe0 to 0x180050099 (185 bytes) // // 5 xrefs: // > cocos2d::CCLayerMultiplex::createWithArray @ 0x18004fbdb // > @ 0x1801384a0 // > @ 0x1801384b0 // > @ 0x1801438a8 // > @ 0x1801b1f20 // // 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 // bool __fastcall cocos2d::CCLayerMultiplex::initWithArray(cocos2d::CCLayerMultiplex *this, struct cocos2d::CCArray *a2) { cocos2d::CCDirector *v4; // rax cocos2d::CCLayerMultiplex_vtbl *v5; // rbx struct cocos2d::CCSize WinSize; // rax unsigned int v7; // eax cocos2d::CCArray *v8; // rax cocos2d::CCArray *v9; // rcx cocos2d::CCLayerMultiplex_vtbl *v10; // rbx struct cocos2d::CCString *v11; // rax v4 = cocos2d::CCDirector::sharedDirector(); if ( v4 ) { v5 = this->cocos2d::CCLayer::cocos2d::CCNode::cocos2d::CCObject::cocos2d::CCCopying::__vftable; WinSize = cocos2d::CCDirector::getWinSize(v4); ((void (__fastcall *)(cocos2d::CCLayerMultiplex *, struct cocos2d::CCSize))v5->setContentSize)(this, WinSize); *(_WORD *)&this->m_bTouchEnabled = 0; v7 = cocos2d::CCArray::count(a2); v8 = cocos2d::CCArray::createWithCapacity(v7); *((_QWORD *)this + 52) = v8; cocos2d::CCArray::addObjectsFromArray(v8, a2); cocos2d::CCObject::retain(*((cocos2d::CCObject **)this + 52)); v9 = *((cocos2d::CCArray **)this + 52); v10 = this->cocos2d::CCLayer::cocos2d::CCNode::cocos2d::CCObject::cocos2d::CCCopying::__vftable; *((_DWORD *)this + 102) = 0; v11 = cocos2d::CCArray::stringAtIndex(v9, 0); ((void (__fastcall *)(cocos2d::CCLayerMultiplex *, struct cocos2d::CCString *))v10->addChild_1)(this, v11); LOBYTE(v4) = 1; } return (char)v4; }
GD Web Decomp Icon

GD Web Decomp

Raw Source