//
// sub_100644390 from 0x100644390 to 0x10064440b (123 bytes)
//
// 2 xrefs:
// > EditorUI::handleEditorAction @ 0x10060bd4b
// > GJTransformControl::init @ 0x100643e68
//
// 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:34:44 +0000
//
__int64 __fastcall sub_100644390(__int64 a1)
{
__int64 v1; // rax
__int64 v2; // r14
__int64 v3; // rax
const char *v4; // rsi
__int64 v5; // rax
*(_BYTE *)(a1 + 600) ^= 1u;
v1 = GameManager::sharedState();
GameManager::setGameVariable(v1, "0229");
v2 = (*(__int64 (__fastcall **)(_QWORD))(**(_QWORD **)(a1 + 528) + 1072LL))(*(_QWORD *)(a1 + 528));
v3 = cocos2d::CCSpriteFrameCache::sharedSpriteFrameCache();
v4 = "warpLockOffBtn_001.png";
if ( *(_BYTE *)(a1 + 600) )
v4 = "warpLockOnBtn_001.png";
v5 = cocos2d::CCSpriteFrameCache::spriteFrameByName(v3, v4);
return (*(__int64 (__fastcall **)(__int64, __int64))(*(_QWORD *)v2 + 1160LL))(v2, v5);
}