// // GJLevelList::init from 0x6ee2c4 to 0x6ee358 (148 bytes) // // 3 xrefs: // > GJLevelList::create @ 0x719248 // > @ 0x6e2e0 // > @ 0x115ffc0 // // 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 GJLevelList::init(GJLevelList *a1) { bool v2; // w19 cocos2d::CCDictionary *v4; // x0 cocos2d::CCDictionary *v5; // x21 cocos2d::CCDictionary *m_levelsDict; // x1 int v7; // w1 v2 = cocos2d::CCNode::init(a1); if ( !v2 ) return 0; v4 = cocos2d::CCDictionary::create(); v5 = v4; m_levelsDict = a1->m_levelsDict; if ( m_levelsDict != v4 ) { if ( v4 ) { cocos2d::CCObject::retain(v4); m_levelsDict = a1->m_levelsDict; } if ( m_levelsDict ) cocos2d::CCObject::release(m_levelsDict); a1->m_levelsDict = v5; } v7 = dword_124235C; a1->m_M_ID = dword_124235C; dword_124235C = v7 + 1; return v2; }
GD Web Decomp Icon

GD Web Decomp

Raw Source