// // sub_140085190 from 0x140085190 to 0x1400852ea (346 bytes) // // 3 xrefs: // > sub_140087E78 @ 0x140087e7f // > @ 0x14053d240 // > @ 0x1406c6be8 // // 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_140085190(char *Block, char a2) { char *v4; // rdi __int64 v5; // rax void *v6; // rax __int64 v7; // rax cocos2d::CCObject *v8; // rcx cocos2d::CCObject *v9; // rcx *(_QWORD *)Block = &ChallengesPage::`vftable'; *((_QWORD *)Block + 40) = &ChallengesPage::`vftable'; *((_QWORD *)Block + 41) = &ChallengesPage::`vftable'; *((_QWORD *)Block + 42) = &ChallengesPage::`vftable'; *((_QWORD *)Block + 43) = &ChallengesPage::`vftable'; *((_QWORD *)Block + 44) = &ChallengesPage::`vftable'; *((_QWORD *)Block + 51) = &ChallengesPage::`vftable'; *((_QWORD *)Block + 54) = &ChallengesPage::`vftable'; *((_QWORD *)Block + 79) = &ChallengesPage::`vftable'; v4 = Block + 640; *((_QWORD *)Block + 80) = &ChallengesPage::`vftable'; *((_QWORD *)Block + 81) = &ChallengesPage::`vftable'; v5 = qword_1406C2EC0; if ( !qword_1406C2EC0 ) { v6 = operator new(0x3D0u); qword_1406C2EC0 = sub_140141280(v6); (*(void (__fastcall **)(__int64))(*(_QWORD *)qword_1406C2EC0 + 72LL))(qword_1406C2EC0); v5 = qword_1406C2EC0; } if ( *(char **)(v5 + 872) == v4 ) *(_QWORD *)(v5 + 872) = 0; v7 = *((_QWORD *)Block + 86); if ( v7 ) *(_QWORD *)(v7 + 408) = 0; v8 = *((cocos2d::CCObject **)Block + 87); if ( v8 ) cocos2d::CCObject::release(v8); v9 = *((cocos2d::CCObject **)Block + 82); if ( v9 ) cocos2d::CCObject::release(v9); FLAlertLayer::dFLAlertLayer((__int64)Block); if ( (a2 & 1) != 0 ) j_j_free(Block); return Block; }
GD Web Decomp Icon

GD Web Decomp

Raw Source