//
// GJBaseGameLayer::activateCustomRing from 0x100289794 to 0x100289828 (148 bytes)
//
// 1 xrefs:
// > PlayerObject::ringJump @ 0x1002c4f68
//
// 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 11:01:59 +0000
//
void __fastcall GJBaseGameLayer::activateCustomRing(__int64 a1, __int64 a2)
{
int v3; // w9
__int64 v4; // x1
__int64 v5; // x2
void *__p; // [xsp+8h] [xbp-28h] BYREF
void *v7; // [xsp+10h] [xbp-20h]
__int64 v8; // [xsp+18h] [xbp-18h]
v3 = *(unsigned __int8 *)(a2 + 1841);
v4 = *(unsigned int *)(a2 + 1464);
if ( v3 == 1 )
{
__p = nullptr;
v7 = nullptr;
v8 = 0;
(*(void (__fastcall **)(__int64, __int64, _QWORD, void **, _QWORD, _QWORD, double))(*(_QWORD *)a1 + 1256LL))(
a1,
v4,
0,
&__p,
*(unsigned int *)(a2 + 916),
*(unsigned int *)(a2 + 1672),
0.0);
}
else
{
v5 = *(unsigned __int8 *)(a2 + 1637);
__p = nullptr;
v7 = nullptr;
v8 = 0;
(*(void (__fastcall **)(__int64, __int64, __int64, void **, _QWORD, _QWORD))(*(_QWORD *)a1 + 1240LL))(
a1,
v4,
v5,
&__p,
*(unsigned int *)(a2 + 916),
*(unsigned int *)(a2 + 1672));
}
if ( __p )
{
v7 = __p;
operator delete(__p);
}
}