//
// PlayerObject::storeCollision from 0x1003f15c0 to 0x1003f166e (174 bytes)
//
// 0 xrefs:
//
// 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:29:53 +0000
//
__int64 __fastcall PlayerObject::storeCollision(__int64 a1, unsigned int a2, int a3)
{
__int64 v3; // rax
__int64 result; // rax
__int64 v5; // kr00_8
v5 = v3;
result = a2;
switch ( a2 )
{
case 0u:
if ( *(_DWORD *)(a1 + 1484) != a3 )
{
*(_DWORD *)(a1 + 1484) = a3;
result = *(_QWORD *)(a1 + 1448);
if ( result )
goto LABEL_13;
}
break;
case 1u:
if ( *(_DWORD *)(a1 + 1480) != a3 )
{
*(_DWORD *)(a1 + 1480) = a3;
result = *(_QWORD *)(a1 + 1456);
if ( result )
goto LABEL_13;
}
break;
case 2u:
if ( *(_DWORD *)(a1 + 1488) != a3 )
{
*(_DWORD *)(a1 + 1488) = a3;
result = *(_QWORD *)(a1 + 1464);
if ( result )
goto LABEL_13;
}
break;
case 3u:
if ( *(_DWORD *)(a1 + 1492) != a3 )
{
*(_DWORD *)(a1 + 1492) = a3;
result = *(_QWORD *)(a1 + 1472);
if ( result )
LABEL_13:
result = cocos2d::CCDictionary::setObject_1(result, *(_QWORD *)(a1 + 1440), a3);
}
break;
default:
result = v5;
break;
}
return result;
}