// // sub_140419510 from 0x140419510 to 0x1404196c1 (433 bytes) // // 3 xrefs: // > sub_14041B9FC @ 0x14041ba03 // > @ 0x14078b658 // > @ 0x140926600 // // 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:05 +0000 // // Hidden C++ exception states: #wind=1 char *__fastcall sub_140419510(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 + 68) = &GJRateLevelLayer::`vftable'; *((_QWORD *)Block + 83) = &GJRateLevelLayer::`vftable'; *((_QWORD *)Block + 84) = &GJRateLevelLayer::`vftable'; *((_QWORD *)Block + 125) = &GJRateLevelLayer::`vftable'; v4 = Block + 1008; *((_QWORD *)Block + 126) = &GJRateLevelLayer::`vftable'; v5 = Block + 1016; *((_QWORD *)Block + 127) = &GJRateLevelLayer::`vftable'; *((_QWORD *)Block + 128) = &GJRateLevelLayer::`vftable'; v6 = *(_QWORD *)&qword_14090BFB0; if ( !*(_QWORD *)&qword_14090BFB0 ) { v7 = operator new(0x690u); *(_QWORD *)&qword_14090BFB0 = GameLevelManager::GameLevelManager((__int64)v7); (*(void (__fastcall **)(_QWORD))(**(_QWORD **)&qword_14090BFB0 + 72LL))(*(_QWORD *)&qword_14090BFB0); v6 = *(_QWORD *)&qword_14090BFB0; } if ( *(char **)(v6 + 1488) == v4 ) *(_QWORD *)(v6 + 1488) = 0; if ( *(char **)(v6 + 1592) == v5 ) *(_QWORD *)(v6 + 1592) = 0; v8 = *((cocos2d::CCObject **)Block + 132); if ( v8 ) cocos2d::CCObject::release(v8); v9 = *((cocos2d::CCObject **)Block + 129); if ( v9 ) cocos2d::CCObject::release(v9); v10 = *((cocos2d::CCObject **)Block + 138); 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