// // sub_1402F4770 from 0x1402f4770 to 0x1402f491e (430 bytes) // // 3 xrefs: // > sub_1402F6ED4 @ 0x1402f6edb // > @ 0x140586708 // > @ 0x1406d3fc8 // // 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_1402F4770(char *Block, char a2) { char *v4; // rdi char *v5; // rsi __int64 v6; // rax void *v7; // rax cocos2d::CCObject *v8; // rcx cocos2d::CCObject *v9; // rcx cocos2d::CCObject *v10; // rcx *(_QWORD *)Block = &GJRateLevelLayer::`vftable'; *((_QWORD *)Block + 40) = &GJRateLevelLayer::`vftable'; *((_QWORD *)Block + 41) = &GJRateLevelLayer::`vftable'; *((_QWORD *)Block + 42) = &GJRateLevelLayer::`vftable'; *((_QWORD *)Block + 43) = &GJRateLevelLayer::`vftable'; *((_QWORD *)Block + 44) = &GJRateLevelLayer::`vftable'; *((_QWORD *)Block + 51) = &GJRateLevelLayer::`vftable'; *((_QWORD *)Block + 54) = &GJRateLevelLayer::`vftable'; *((_QWORD *)Block + 79) = &GJRateLevelLayer::`vftable'; *((_QWORD *)Block + 80) = &GJRateLevelLayer::`vftable'; *((_QWORD *)Block + 81) = &GJRateLevelLayer::`vftable'; *((_QWORD *)Block + 117) = &GJRateLevelLayer::`vftable'; v4 = Block + 944; *((_QWORD *)Block + 118) = &GJRateLevelLayer::`vftable'; v5 = Block + 952; *((_QWORD *)Block + 119) = &GJRateLevelLayer::`vftable'; *((_QWORD *)Block + 120) = &GJRateLevelLayer::`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 ( *(char **)(v6 + 808) == v4 ) *(_QWORD *)(v6 + 808) = 0; if ( *(char **)(v6 + 896) == v5 ) *(_QWORD *)(v6 + 896) = 0; v8 = *((cocos2d::CCObject **)Block + 124); if ( v8 ) cocos2d::CCObject::release(v8); v9 = *((cocos2d::CCObject **)Block + 121); if ( v9 ) cocos2d::CCObject::release(v9); v10 = *((cocos2d::CCObject **)Block + 130); if ( v10 ) cocos2d::CCObject::release(v10); SetupTriggerPopup::dSetupTriggerPopup(Block); if ( (a2 & 1) != 0 ) j_j_free(Block); return Block; }
GD Web Decomp Icon

GD Web Decomp

Raw Source