//
// sub_1002C3C70 from 0x1002c3c70 to 0x1002c3cbc (76 bytes)
//
// 6 xrefs:
// > UILayer::onCheck @ 0x100050bc8
// > PlayerObject::resetObject @ 0x1002c36d8
// > PlayerObject::toggleFlyMode @ 0x1002c63e8
// > PlayerObject::toggleBirdMode @ 0x1002c6b88
// > PlayerObject::toggleSwingMode @ 0x1002c702c
// > PlayerObject::toggleDartMode @ 0x1002c7704
//
// 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:32 +0000
//
_DWORD *__fastcall sub_1002C3C70(__int64 a1)
{
_DWORD *result; // x0
__int64 v3; // x20
result = *(_DWORD **)(a1 + 2120);
if ( result )
{
v3 = sub_10019CA2C((__int64)result);
sub_1002F25E4(v3);
(*(void (__fastcall **)(__int64))(*(_QWORD *)v3 + 536LL))(v3);
result = cocos2d::CCObject::release(*(_DWORD **)(a1 + 2120));
*(_QWORD *)(a1 + 2120) = 0;
}
return result;
}