// // GJLevelList::create_1 from 0x10052d6b0 to 0x10052d7c6 (278 bytes) // // 3 xrefs: // > GameLevelManager::createNewLevelList @ 0x10052d2b4 // > GJLevelList::create @ 0x1005318e7 // > GJLevelList::createWithCoder @ 0x10056349a // // 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 // GJLevelList *__fastcall GJLevelList::create_1() { cocos2d::CCNode *v0; // r14 GJLevelList *v1; // rbx cocos2d::CCObject **p_m_pChildren; // r14 cocos2d::CCDictionary *v3; // rax cocos2d::CCObject *v4; // rdi cocos2d::CCDictionary *v5; // r15 int v6; // eax v0 = (cocos2d::CCNode *)operator new(0x220u); v1 = (GJLevelList *)v0; cocos2d::CCNode::CCNode((__int64)v0); v0->__vftable = (cocos2d::CCNode_vtbl *)off_100962810; *(_OWORD *)&v0[1].__vftable = 0; *(_OWORD *)&v0[1].m_nTag = 0; *(_QWORD *)&v0[1].m_uIndexInArray = 0; v0[1].m_unknown2 = -1; *(_OWORD *)&v0[1].m_nZOrder = 0; *(_OWORD *)&v0[1].m_fRotationY = 0; *(_OWORD *)&v0[1].m_obPosition.x = 0; *(_OWORD *)&v0[1].m_obAnchorPointInPoints.x = 0; *(_OWORD *)&v0[1].m_obContentSize.width = 0; *(_OWORD *)&v0[1].m_sAdditionalTransform.c = 0; *(_OWORD *)&v0[1].m_sTransform.a = 0; *(_OWORD *)&v0[1].m_sTransform.tx = 0; *(_OWORD *)&v0[1].m_sInverse.c = 0; *(_OWORD *)&v0[1].m_sInverse.ty = 0; *(_OWORD *)&v0[1].m_pChildren = 0; if ( cocos2d::CCNode::init(v0) ) { p_m_pChildren = &v0[1].m_pChildren; v3 = cocos2d::CCDictionary::create(); v4 = *p_m_pChildren; if ( *p_m_pChildren != v3 ) { v5 = v3; if ( v3 ) { cocos2d::CCObject::retain(v3); v4 = *p_m_pChildren; } if ( v4 ) cocos2d::CCObject::release(v4); *p_m_pChildren = v5; } v6 = dword_1009A28F0; v1->m_M_ID = dword_1009A28F0; dword_1009A28F0 = v6 + 1; cocos2d::CCObject::autorelease(v1); } else { ((void (__fastcall *)(cocos2d::CCNode *))v0->~CCNode_0)(v0); return nullptr; } return v1; }
GD Web Decomp Icon

GD Web Decomp

Raw Source