//
// GJBaseGameLayer::activateCustomRing from 0x100113730 to 0x1001137c6 (150 bytes)
//
// 1 xrefs:
// > PlayerObject::ringJump @ 0x100401769
//
// 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
//
void __fastcall GJBaseGameLayer::activateCustomRing(__int64 a1, __int64 a2)
{
__int64 v3; // rsi
__int64 v4; // rdx
void *__p[2]; // [rsp+0h] [rbp-20h] BYREF
__int64 v6; // [rsp+10h] [rbp-10h]
v3 = *(unsigned int *)(a2 + 1464);
if ( *(_BYTE *)(a2 + 1841) == 1 )
{
*(_OWORD *)__p = 0;
v6 = 0;
(*(void (__fastcall **)(__int64, __int64, _QWORD, void **, _QWORD, _QWORD, double))(*(_QWORD *)a1 + 1256LL))(
a1,
v3,
0,
__p,
*(unsigned int *)(a2 + 916),
*(unsigned int *)(a2 + 1672),
0.0);
}
else
{
v4 = *(unsigned __int8 *)(a2 + 1637);
*(_OWORD *)__p = 0;
v6 = 0;
(*(void (__fastcall **)(__int64, __int64, __int64, void **, _QWORD, _QWORD))(*(_QWORD *)a1 + 1240LL))(
a1,
v3,
v4,
__p,
*(unsigned int *)(a2 + 916),
*(unsigned int *)(a2 + 1672));
}
if ( __p[0] )
{
__p[1] = __p[0];
operator delete(__p[0]);
}
}