// // sub_140272B60 from 0x140272b60 to 0x140272d0e (430 bytes) // // 3 xrefs: // > sub_14027DFF0 @ 0x14027dff7 // > @ 0x14056ae10 // > @ 0x1406d0eb4 // // 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 char *__fastcall sub_140272B60(char *Block, char a2) { char *v4; // rdi void *v5; // rax cocos2d::CCObject *v6; // rcx cocos2d::CCObject *v7; // rcx void *v8; // rax *(_QWORD *)Block = &GJGarageLayer::`vftable'; *((_QWORD *)Block + 40) = &GJGarageLayer::`vftable'; *((_QWORD *)Block + 41) = &GJGarageLayer::`vftable'; *((_QWORD *)Block + 42) = &GJGarageLayer::`vftable'; *((_QWORD *)Block + 43) = &GJGarageLayer::`vftable'; *((_QWORD *)Block + 44) = &GJGarageLayer::`vftable'; *((_QWORD *)Block + 51) = &GJGarageLayer::`vftable'; *((_QWORD *)Block + 52) = &GJGarageLayer::`vftable'; *((_QWORD *)Block + 53) = &GJGarageLayer::`vftable'; *((_QWORD *)Block + 54) = &GJGarageLayer::`vftable'; *((_QWORD *)Block + 55) = &GJGarageLayer::`vftable'; *((_QWORD *)Block + 56) = &GJGarageLayer::`vftable'; v4 = Block + 456; *((_QWORD *)Block + 57) = &GJGarageLayer::`vftable'; if ( !qword_1406C2ED8 ) { v5 = operator new(0x668u); qword_1406C2ED8 = sub_14017AB00((__int64)v5); (*(void (__fastcall **)(__int64))(*(_QWORD *)qword_1406C2ED8 + 72LL))(qword_1406C2ED8); } *(_QWORD *)(qword_1406C2ED8 + 928) = 0; v6 = *((cocos2d::CCObject **)Block + 60); if ( v6 ) cocos2d::CCObject::release(v6); v7 = *((cocos2d::CCObject **)Block + 61); if ( v7 ) cocos2d::CCObject::release(v7); if ( !qword_1406C2ED8 ) { v8 = operator new(0x668u); qword_1406C2ED8 = sub_14017AB00((__int64)v8); (*(void (__fastcall **)(__int64))(*(_QWORD *)qword_1406C2ED8 + 72LL))(qword_1406C2ED8); } if ( *(char **)(qword_1406C2ED8 + 1192) == v4 ) *(_QWORD *)(qword_1406C2ED8 + 1192) = 0; sub_140093D70((void **)Block + 65); cocos2d::CCLayer::~CCLayer((cocos2d::CCLayer *)Block); if ( (a2 & 1) != 0 ) j_j_free(Block); return Block; }
GD Web Decomp Icon

GD Web Decomp

Raw Source