//
// sub_100158288 from 0x100158288 to 0x1001582f8 (112 bytes)
//
// 1 xrefs:
// > GJScaleControl::init @ 0x100157cf0
//
// 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_100158288(__int64 a1)
{
__int64 v2; // x20
__int64 v3; // x0
const char *v4; // x1
__int64 v5; // x1
*(_BYTE *)(a1 + 608) ^= 1u;
v2 = (*(__int64 (__fastcall **)(_QWORD))(**(_QWORD **)(a1 + 600) + 1072LL))(*(_QWORD *)(a1 + 600));
v3 = cocos2d::CCSpriteFrameCache::sharedSpriteFrameCache(v2);
if ( *(_BYTE *)(a1 + 608) )
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);
}