//
// sub_1001425DC from 0x1001425dc to 0x100142674 (152 bytes)
//
// 5 xrefs:
// > PlayLayer::updateDebugDrawSettings @ 0x10013ecd8
// > PlayLayer::destroyPlayer @ 0x100147c20
// > PlayLayer::togglePracticeMode @ 0x10014b464
// > PlayLayer::togglePracticeMode @ 0x10014b48c
// > PlayLayer::resetLevel @ 0x10014b694
//
// 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 10:59:32 +0000
//
__int64 __fastcall sub_1001425DC(__int64 *a1)
{
__int64 v2; // x20
__int64 result; // x0
if ( ((*(__int64 (__fastcall **)(__int64 *))(*a1 + 1312))(a1) & 1) != 0 )
v2 = 1;
else
v2 = (*(__int64 (__fastcall **)(__int64 *))(*a1 + 1320))(a1);
result = (*(__int64 (__fastcall **)(__int64))(*(_QWORD *)a1[1727] + 352LL))(a1[1727]);
if ( (_DWORD)v2 != (_DWORD)result )
{
cocos2d::CCDrawNode::clear(a1[1727]);
result = (*(__int64 (__fastcall **)(__int64, __int64))(*(_QWORD *)a1[1727] + 344LL))(a1[1727], v2);
if ( (_DWORD)v2 )
return (*(__int64 (__fastcall **)(__int64 *))(*a1 + 1304))(a1);
}
return result;
}