// // CharacterColorPage::toggleShip from 0x100153084 to 0x100153148 (196 bytes) // // 1 xrefs: // > CharacterColorPage::init @ 0x100152a10 // // This function is hookable on this platform (idp: arm, 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 10:59:40 +0000 // __int64 __fastcall CharacterColorPage::toggleShip(__int64 a1, __int64 a2) { __int64 v3; // x20 __int64 v4; // x0 int v5; // w21 _DWORD *v6; // x0 __int64 v7; // x1 __int64 v8; // x21 float v9; // s8 v3 = (*(__int64 (__fastcall **)(__int64))(*(_QWORD *)a2 + 1072LL))(a2); v4 = (*(__int64 (__fastcall **)(__int64))(*(_QWORD *)a2 + 64LL))(a2); v5 = v4; v6 = (_DWORD *)GameManager::sharedState(v4); if ( v5 == 1 ) { v7 = (unsigned int)(v6[221] - v6[222]); v8 = 8; v9 = 1.05; } else { v7 = (unsigned int)(v6[182] - v6[183]); v8 = 1; v9 = 1.15; } SimplePlayer::updatePlayerFrame(v3, v7, v8); (*(void (__fastcall **)(__int64, float))(*(_QWORD *)v3 + 160LL))(v3, v9); return (*(__int64 (__fastcall **)(__int64, __int64))(*(_QWORD *)a2 + 72LL))(a2, v8); }
GD Web Decomp Icon

GD Web Decomp

Raw Source