//
// PlayerObject::flashPlayer from 0x437dec to 0x437e48 (92 bytes)
//
// 4 xrefs:
// > PlayerObject::playSpiderDashEffect @ 0x4380a6
// > PlayerObject::startDashing @ 0x43a610
// > PlayerObject::spiderTestJumpY @ 0x445b4a
// > PlayerObject::spiderTestJumpX @ 0x44641c
//
// This function is hookable on this platform (idp: arm, 32 bit: True, 64 bit: False!
//
// 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:48:20 +0000
//
__int64 __fastcall PlayerObject::flashPlayer(int a1, int a2, int a3, int a4, int a5)
{
unsigned __int8 *v6; // r5
int v9; // r3
__int64 result; // r0
v6 = (unsigned __int8 *)(a1 + 1659);
*(_WORD *)(a1 + 1656) = a4;
*(_BYTE *)(a1 + 1658) = BYTE2(a4);
*(_BYTE *)(a1 + 1661) = BYTE2(a5);
v9 = *(_DWORD *)a1;
*(_WORD *)(a1 + 1659) = a5;
(*(void (__fastcall **)(int, int))(v9 + 480))(a1, a1 + 1656);
PlayerObject::setSecondColor(a1, v6);
result = *(_QWORD *)(a1 + 2128);
*(_QWORD *)(a1 + 1640) = result;
*(_DWORD *)(a1 + 1648) = a2;
*(_DWORD *)(a1 + 1652) = a3;
return result;
}