//
// GJBaseGameLayer::regenerateEnterEasingBuffers from 0x1000f38a0 to 0x1000f39d2 (306 bytes)
//
// 1 xrefs:
// > GJBaseGameLayer::updateSpecialGroupData @ 0x1000f36b1
//
// 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:21:12 +0000
//
__int64 __fastcall GJBaseGameLayer::regenerateEnterEasingBuffers(__int64 a1)
{
_QWORD *v2; // rdi
_QWORD *v3; // r14
__int64 v4; // rsi
__int64 result; // rax
__int64 *v6; // r14
unsigned __int64 v7; // r15
__int64 v8; // r13
*(_QWORD *)(a1 + 12144) = *(_QWORD *)(a1 + 12136);
if ( *(_QWORD *)(a1 + 12184) )
{
v2 = *(_QWORD **)(a1 + 12176);
if ( v2 )
{
do
{
v3 = (_QWORD *)*v2;
operator delete(v2);
v2 = v3;
}
while ( v3 );
}
*(_QWORD *)(a1 + 12176) = 0;
v4 = *(_QWORD *)(a1 + 12168);
if ( v4 )
__bzero(*(_QWORD *)(a1 + 12160), 8 * v4);
*(_QWORD *)(a1 + 12184) = 0;
}
*(_DWORD *)(a1 + 12200) = 0;
result = *(_QWORD *)(a1 + 3280);
if ( result )
{
result = *(_QWORD *)(result + 56);
if ( *(_DWORD *)result )
{
v6 = *(__int64 **)(result + 16);
v7 = (unsigned __int64)&v6[*(unsigned int *)result - 1];
do
{
v8 = *v6;
if ( !*v6 )
break;
result = (unsigned int)(*(_DWORD *)(v8 + 1028) - 3006);
if ( (unsigned int)result <= 0xF && *(_DWORD *)(v8 + 1028) != 3016 )
{
*(_DWORD *)(v8 + 1928) = GJBaseGameLayer::generateEnterEasingBuffer(
a1,
*(unsigned int *)(v8 + 1920),
*(float *)(v8 + 1924));
result = GJBaseGameLayer::generateEnterEasingBuffer(a1, *(unsigned int *)(v8 + 1932), *(float *)(v8 + 1936));
*(_DWORD *)(v8 + 1940) = result;
}
++v6;
}
while ( (unsigned __int64)v6 <= v7 );
}
}
return result;
}