// // sub_1402BA730 from 0x1402ba730 to 0x1402ba8c2 (402 bytes) // // 3 xrefs: // > sub_1402BF7C0 @ 0x1402bf7c7 // > @ 0x1405814b0 // > @ 0x1406d27bc // // 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_1402BA730(char *Block, char a2) { char *v4; // rdi char *v5; // rsi cocos2d::CCObject *v6; // rcx cocos2d::CCObject *v7; // rcx cocos2d::CCObject *v8; // rcx __int64 v9; // rax void *v10; // rax char *v11; // rcx char *v12; // rcx *(_QWORD *)Block = &InfoLayer::`vftable'; *((_QWORD *)Block + 40) = &InfoLayer::`vftable'; *((_QWORD *)Block + 41) = &InfoLayer::`vftable'; *((_QWORD *)Block + 42) = &InfoLayer::`vftable'; *((_QWORD *)Block + 43) = &InfoLayer::`vftable'; *((_QWORD *)Block + 44) = &InfoLayer::`vftable'; *((_QWORD *)Block + 51) = &InfoLayer::`vftable'; *((_QWORD *)Block + 54) = &InfoLayer::`vftable'; v4 = Block + 632; *((_QWORD *)Block + 79) = &InfoLayer::`vftable'; v5 = Block + 640; *((_QWORD *)Block + 80) = &InfoLayer::`vftable'; *((_QWORD *)Block + 81) = &InfoLayer::`vftable'; v6 = *((cocos2d::CCObject **)Block + 82); if ( v6 ) cocos2d::CCObject::release(v6); v7 = *((cocos2d::CCObject **)Block + 83); if ( v7 ) cocos2d::CCObject::release(v7); v8 = *((cocos2d::CCObject **)Block + 84); if ( v8 ) cocos2d::CCObject::release(v8); v9 = qword_1406C2EC0; if ( !qword_1406C2EC0 ) { v10 = operator new(0x3D0u); qword_1406C2EC0 = sub_140141280((__int64)v10); (*(void (__fastcall **)(__int64))(*(_QWORD *)qword_1406C2EC0 + 72LL))(qword_1406C2EC0); v9 = qword_1406C2EC0; } v11 = *(char **)(v9 + 736); if ( v11 && v11 == v4 ) *(_QWORD *)(v9 + 736) = 0; v12 = *(char **)(v9 + 744); if ( v12 && v12 == v5 ) *(_QWORD *)(v9 + 744) = 0; sub_14003A830((__int64)(Block + 680)); FLAlertLayer::dFLAlertLayer((__int64)Block); if ( (a2 & 1) != 0 ) j_j_free(Block); return Block; }
GD Web Decomp Icon

GD Web Decomp

Raw Source