//
// GameManager::lockColor from 0x722944 to 0x7229d4 (144 bytes)
//
// 2 xrefs:
// > GameManager::resetAchievement @ 0x722b00
// > ??> @ 0x7b3b8
//
// 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 12:52:24 +0000
//
__int64 __fastcall GameManager::lockColor(__int64 a1, unsigned int a2, int a3)
{
__int64 v3; // x21
__int64 v5[3]; // [xsp+30h] [xbp+30h] BYREF
v3 = *(_QWORD *)(a1 + 424);
GameManager::colorKey(a2, a3, v5);
cocos2d::CCDictionary::removeObjectForKey(v3, v5);
if ( (v5[0] & 1) != 0 )
operator delete((void *)v5[2]);
return _stack_chk_guard;
}