// // sub_1401F8900 from 0x1401f8900 to 0x1401f8a7c (380 bytes) // // 3 xrefs: // > sub_1401FFF28 @ 0x1401fff2f // > @ 0x1405649b0 // > @ 0x1406cc954 // // 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 // // Hidden C++ exception states: #wind=1 cocos2d::CCLayer *__fastcall sub_1401F8900(cocos2d::CCLayer *Block, char a2) { unsigned int *p_m_uID; // rdi int *p_m_nTag; // rsi __int64 v6; // rax void *v7; // rax __int64 v8; // rax void *v9; // rax cocos2d::CCObject *v10; // rcx Block->cocos2d::CCNode::cocos2d::CCObject::cocos2d::CCCopying::__vftable = (cocos2d::CCLayer_vtbl *)&GauntletSelectLayer::`vftable'; Block->cocos2d::CCTouchDelegate::__vftable = (cocos2d::CCTouchDelegate_vtbl *)&GauntletSelectLayer::`vftable'; Block->cocos2d::CCAccelerometerDelegate::__vftable = (cocos2d::CCAccelerometerDelegate_vtbl *)&GauntletSelectLayer::`vftable'; Block->cocos2d::CCKeypadDelegate::__vftable = (cocos2d::CCKeypadDelegate_vtbl *)&GauntletSelectLayer::`vftable'; Block->cocos2d::CCKeyboardDelegate::__vftable = (cocos2d::CCKeyboardDelegate_vtbl *)&GauntletSelectLayer::`vftable'; Block->cocos2d::CCMouseDelegate::__vftable = (cocos2d::CCMouseDelegate_vtbl *)&GauntletSelectLayer::`vftable'; Block[1].cocos2d::CCNode::cocos2d::CCObject::cocos2d::CCCopying::__vftable = (cocos2d::CCLayer_vtbl *)&GauntletSelectLayer::`vftable'; p_m_uID = &Block[1].m_uID; *(_QWORD *)&Block[1].m_uID = &GauntletSelectLayer::`vftable'; p_m_nTag = &Block[1].m_nTag; *(_QWORD *)&Block[1].m_nTag = &GauntletSelectLayer::`vftable'; v6 = qword_1406C2EC0; if ( !qword_1406C2EC0 ) { v7 = operator new(0x3D0u); qword_1406C2EC0 = sub_140141280((__int64)v7); (*(void (__fastcall **)(__int64))(*(_QWORD *)qword_1406C2EC0 + 72LL))(qword_1406C2EC0); v6 = qword_1406C2EC0; } if ( *(unsigned int **)(v6 + 720) == p_m_uID ) *(_QWORD *)(v6 + 720) = 0; v8 = qword_1406C2ED8; if ( !qword_1406C2ED8 ) { v9 = operator new(0x668u); qword_1406C2ED8 = sub_14017AB00((__int64)v9); (*(void (__fastcall **)(__int64))(*(_QWORD *)qword_1406C2ED8 + 72LL))(qword_1406C2ED8); v8 = qword_1406C2ED8; } if ( *(int **)(v8 + 1192) == p_m_nTag ) *(_QWORD *)(v8 + 1192) = 0; *(_DWORD *)(v8 + 1636) = 0; v10 = *(cocos2d::CCObject **)&Block[1].m_fSkewY; if ( v10 ) cocos2d::CCObject::release(v10); cocos2d::CCLayer::~CCLayer(Block); if ( (a2 & 1) != 0 ) j_j_free(Block); return Block; }
GD Web Decomp Icon

GD Web Decomp

Raw Source