//
// sub_1001573B4 from 0x1001573b4 to 0x100157424 (112 bytes)
//
// 1 xrefs:
// > GJRotationControl::init @ 0x10015703c
//
// 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:42 +0000
//
__int64 __fastcall sub_1001573B4(__int64 a1)
{
__int64 v2; // x20
__int64 v3; // x0
const char *v4; // x1
__int64 v5; // x1
*(_BYTE *)(a1 + 456) ^= 1u;
v2 = (*(__int64 (__fastcall **)(_QWORD))(**(_QWORD **)(a1 + 448) + 1072LL))(*(_QWORD *)(a1 + 448));
v3 = cocos2d::CCSpriteFrameCache::sharedSpriteFrameCache(v2);
if ( *(_BYTE *)(a1 + 456) )
v4 = "warpLockOnBtn_001.png";
else
v4 = "warpLockOffBtn_001.png";
v5 = cocos2d::CCSpriteFrameCache::spriteFrameByName(v3, v4);
return (*(__int64 (__fastcall **)(__int64, __int64))(*(_QWORD *)v2 + 1160LL))(v2, v5);
}