//
// GJBaseGameLayer::controlGradientTrigger from 0x1001146b0 to 0x100114709 (89 bytes)
//
// 0 xrefs:
//
// 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:24:33 +0000
//
__int64 __fastcall GJBaseGameLayer::controlGradientTrigger(__int64 a1, __int64 a2, int a3)
{
__int64 result; // rax
__int64 v4; // rbx
if ( a3 == 2 )
return GJBaseGameLayer::triggerGradientCommand(a1, a2);
result = cocos2d::CCDictionary::objectForKey_1(*(_QWORD *)(a1 + 12400));
if ( result )
{
v4 = result;
result = (*(__int64 (__fastcall **)(__int64, _QWORD))(*(_QWORD *)result + 528LL))(result, 0);
*(_QWORD *)(v4 + 584) = 0;
}
return result;
}