// // CharacterColorPage::toggleShip from 0x140088cd0 to 0x140088de9 (281 bytes) // // 2 xrefs: // > CharacterColorPage::init @ 0x140088682 // > @ 0x1406c6cd8 // // 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=2 void CharacterColorPage::toggleShip(CharacterColorPage *a1, cocos2d::CCObject *a2) { SimplePlayer *v3; // rsi __int64 v4; // rcx int v5; // edx IconType v6; // ebx __int64 v7; // rax void *v8; // [rsp+48h] [rbp+10h] void *v9; // [rsp+48h] [rbp+10h] v3 = (SimplePlayer *)((__int64 (__fastcall *)(cocos2d::CCObject *))a2->__vftable[13].copyWithZone)(a2); if ( a2->getTag(a2) == 1 ) { v4 = qword_1406C2ED8; if ( !qword_1406C2ED8 ) { v8 = operator new(0x668u); qword_1406C2ED8 = sub_14017AB00(v8); (*(void (__fastcall **)(__int64))(*(_QWORD *)qword_1406C2ED8 + 72LL))(qword_1406C2ED8); v4 = qword_1406C2ED8; } v5 = *(_DWORD *)(v4 + 876) - *(_DWORD *)(v4 + 880); v6 = Jetpack; } else { v7 = qword_1406C2ED8; if ( !qword_1406C2ED8 ) { v9 = operator new(0x668u); qword_1406C2ED8 = sub_14017AB00(v9); (*(void (__fastcall **)(__int64))(*(_QWORD *)qword_1406C2ED8 + 72LL))(qword_1406C2ED8); v7 = qword_1406C2ED8; } v5 = *(_DWORD *)(v7 + 720) - *(_DWORD *)(v7 + 724); v6 = Ship; } SimplePlayer::updatePlayerFrame(v3, v5, v6); ((void (__fastcall *)(SimplePlayer *))v3->setScale_0)(v3); a2->setTag(a2, v6); }
GD Web Decomp Icon

GD Web Decomp

Raw Source