// // CharacterColorPage::toggleShip from 0x10073ce00 to 0x10073cea8 (168 bytes) // // 1 xrefs: // > CharacterColorPage::init @ 0x10073c6b6 // // 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 12:36:27 +0000 // __int64 __fastcall CharacterColorPage::toggleShip(__int64 a1, __int64 a2) { __int64 v3; // r14 int v4; // r15d _DWORD *v5; // rax unsigned int v6; // esi unsigned int v7; // r15d float v9; // [rsp+0h] [rbp-1Ch] v3 = (*(__int64 (__fastcall **)(__int64))(*(_QWORD *)a2 + 1072LL))(a2); v4 = (*(__int64 (__fastcall **)(__int64))(*(_QWORD *)a2 + 64LL))(a2); v5 = (_DWORD *)GameManager::sharedState(); if ( v4 == 1 ) { v6 = v5[221] - v5[222]; v9 = 1.05; v7 = 8; } else { v6 = v5[182] - v5[183]; v9 = 1.15; v7 = 1; } SimplePlayer::updatePlayerFrame(v3, v6, v7); (*(void (__fastcall **)(__int64, float))(*(_QWORD *)v3 + 160LL))(v3, v9); return (*(__int64 (__fastcall **)(__int64, _QWORD))(*(_QWORD *)a2 + 72LL))(a2, v7); }
GD Web Decomp Icon

GD Web Decomp

Raw Source