//
// PlayerObject::resetPlayerIcon from 0x1002c695c to 0x1002c6adc (384 bytes)
//
// 5 xrefs:
// > PlayerObject::toggleFlyMode @ 0x1002c6474
// > PlayerObject::toggleBirdMode @ 0x1002c6d54
// > PlayerObject::toggleSwingMode @ 0x1002c7168
// > PlayerObject::toggleDartMode @ 0x1002c78d0
// > PlayerObject::toggleSpiderMode @ 0x1002c8294
//
// 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 11:02:33 +0000
//
__int64 __fastcall PlayerObject::resetPlayerIcon(__int64 a1)
{
__int64 v2; // x0
__int64 v3; // x0
void *v4; // x1
__int64 v5; // x0
__int128 v7; // [xsp+0h] [xbp-20h] BYREF
PlayerObject::stopPlatformerJumpAnimation(a1);
*(_QWORD *)(a1 + 764) = 0x41F0000041F00000LL;
*(_DWORD *)(a1 + 2640) = 1106247680;
PlayerObject::runRotateAction(a1);
(*(void (__fastcall **)(_QWORD, float))(**(_QWORD **)(a1 + 1800) + 160LL))(*(_QWORD *)(a1 + 1800), 1.0);
(*(void (__fastcall **)(_QWORD, double *))(**(_QWORD **)(a1 + 1800) + 184LL))(*(_QWORD *)(a1 + 1800), &dbl_1009F5AA0);
(*(void (__fastcall **)(_QWORD, _QWORD))(**(_QWORD **)(a1 + 1832) + 344LL))(*(_QWORD *)(a1 + 1832), 0);
(*(void (__fastcall **)(_QWORD, _QWORD))(**(_QWORD **)(a1 + 1848) + 344LL))(*(_QWORD *)(a1 + 1848), 0);
PlayerObject::updatePlayerGlow(a1);
cocos2d::CCParticleSystem::stopSystem(*(_QWORD *)(a1 + 2168));
cocos2d::CCParticleSystem::stopSystem(*(_QWORD *)(a1 + 2176));
cocos2d::CCParticleSystem::stopSystem(*(_QWORD *)(a1 + 2184));
v2 = *(_QWORD *)(a1 + 2168);
v7 = xmmword_100763460;
(*(void (__fastcall **)(__int64, __int128 *))(*(_QWORD *)v2 + 1360LL))(v2, &v7);
v3 = *(_QWORD *)(a1 + 2168);
v7 = xmmword_10075C760;
(*(void (__fastcall **)(__int64, __int128 *))(*(_QWORD *)v3 + 1392LL))(v3, &v7);
if ( *(_BYTE *)(a1 + 2272) )
v4 = &unk_100763638;
else
v4 = (void *)(a1 + 2605);
(*(void (__fastcall **)(_QWORD, void *))(**(_QWORD **)(a1 + 1904) + 960LL))(*(_QWORD *)(a1 + 1904), v4);
PlayerObject::deactivateStreak(a1, 0);
v5 = *(_QWORD *)(a1 + 1912);
if ( v5 )
(*(void (__fastcall **)(__int64, _QWORD))(*(_QWORD *)v5 + 344LL))(v5, 0);
GJActionManager::stopInternalAction(*(_QWORD *)(a1 + 3032), 6);
(*(void (__fastcall **)(__int64, float))(*(_QWORD *)a1 + 128LL))(a1, *(float *)(a1 + 2472));
return (*(__int64 (__fastcall **)(__int64, float))(*(_QWORD *)a1 + 144LL))(a1, *(float *)(a1 + 2472));
}