// // sub_14041BA10 from 0x14041ba10 to 0x14041bc19 (521 bytes) // // 3 xrefs: // > sub_140426628 @ 0x14042662f // > @ 0x14078c698 // > @ 0x1409266fc // // 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:32:06 +0000 // // Hidden C++ exception states: #wind=1 char *__fastcall sub_14041BA10(char *Block, char a2) { char *v4; // rdi char *v5; // rsi char *v6; // r14 cocos2d::CCObject *v7; // rcx cocos2d::CCObject *v8; // rcx cocos2d::CCObject *v9; // rcx cocos2d::CCObject *v10; // rcx _QWORD *v11; // rax void *v12; // rax char *v13; // rcx char *v14; // rcx char *v15; // rcx *(_QWORD *)Block = &LevelInfoLayer::`vftable'; *((_QWORD *)Block + 40) = &LevelInfoLayer::`vftable'; *((_QWORD *)Block + 41) = &LevelInfoLayer::`vftable'; *((_QWORD *)Block + 42) = &LevelInfoLayer::`vftable'; *((_QWORD *)Block + 43) = &LevelInfoLayer::`vftable'; *((_QWORD *)Block + 44) = &LevelInfoLayer::`vftable'; v4 = Block + 408; *((_QWORD *)Block + 51) = &LevelInfoLayer::`vftable'; v5 = Block + 416; *((_QWORD *)Block + 52) = &LevelInfoLayer::`vftable'; *((_QWORD *)Block + 53) = &LevelInfoLayer::`vftable'; *((_QWORD *)Block + 54) = &LevelInfoLayer::`vftable'; *((_QWORD *)Block + 55) = &LevelInfoLayer::`vftable'; v6 = Block + 448; *((_QWORD *)Block + 56) = &LevelInfoLayer::`vftable'; *((_QWORD *)Block + 57) = &LevelInfoLayer::`vftable'; *((_QWORD *)Block + 58) = &LevelInfoLayer::`vftable'; *((_QWORD *)Block + 59) = &LevelInfoLayer::`vftable'; *((_QWORD *)Block + 60) = &LevelInfoLayer::`vftable'; v7 = *((cocos2d::CCObject **)Block + 63); if ( v7 ) cocos2d::CCObject::release(v7); v8 = *((cocos2d::CCObject **)Block + 81); if ( v8 ) cocos2d::CCObject::release(v8); v9 = *((cocos2d::CCObject **)Block + 64); if ( v9 ) cocos2d::CCObject::release(v9); v10 = *((cocos2d::CCObject **)Block + 85); if ( v10 ) cocos2d::CCObject::release(v10); v11 = *(_QWORD **)&qword_14090BFB0; if ( !*(_QWORD *)&qword_14090BFB0 ) { v12 = operator new(0x690u); *(_QWORD *)&qword_14090BFB0 = GameLevelManager::GameLevelManager((__int64)v12); (*(void (__fastcall **)(_QWORD))(**(_QWORD **)&qword_14090BFB0 + 72LL))(*(_QWORD *)&qword_14090BFB0); v11 = *(_QWORD **)&qword_14090BFB0; } v13 = (char *)v11[170]; if ( v13 && v13 == v4 ) v11[170] = 0; v14 = (char *)v11[177]; if ( v14 && v14 == v5 ) v11[177] = 0; v15 = (char *)v11[179]; if ( v15 && v15 == v6 ) v11[179] = 0; 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