// // sub_14037B2A0 from 0x14037b2a0 to 0x14037b454 (436 bytes) // // 3 xrefs: // > sub_140386B58 @ 0x140386b5f // > @ 0x1407702c0 // > @ 0x1409227cc // // This function is hookable on this platform (idp: pc, 32 bit: False, 64 bit: True! // // Using BromaIDA 8.3.0 @ https://github.com/Stazzical/BromaIDA // Using bindings at commit 1c6ec395 at Thu Nov 26 21:29:22 2026 from https://github.com/geode-sdk/bindings // Generated at Fri, 27 Nov 2026 11:31:02 +0000 // // Hidden C++ exception states: #wind=1 char *__fastcall sub_14037B2A0(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_14090BFD0 ) { v5 = operator new(0x6E8u); qword_14090BFD0 = GameManager::GameManager((__int64)v5); (*(void (__fastcall **)(__int64))(*(_QWORD *)qword_14090BFD0 + 72LL))(qword_14090BFD0); } *(_QWORD *)(qword_14090BFD0 + 968) = 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_14090BFD0 ) { v8 = operator new(0x6E8u); qword_14090BFD0 = GameManager::GameManager((__int64)v8); (*(void (__fastcall **)(__int64))(*(_QWORD *)qword_14090BFD0 + 72LL))(qword_14090BFD0); } if ( *(char **)(qword_14090BFD0 + 1288) == v4 ) *(_QWORD *)(qword_14090BFD0 + 1288) = 0; sub_140080450((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