//
// GJBaseGameLayer::recordAction from 0x10029749c to 0x100297504 (104 bytes)
//
// 1 xrefs:
// > GJBaseGameLayer::handleButton @ 0x100296fb0
//
// 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:02:06 +0000
//
__int64 __fastcall GJBaseGameLayer::recordAction(__int64 result, int a2, unsigned __int8 a3, char a4)
{
__int64 v4; // x29
__int64 v5; // x30
int v6; // [xsp+0h] [xbp-20h] BYREF
__int64 v7; // [xsp+4h] [xbp-1Ch]
int v8; // [xsp+Ch] [xbp-14h]
__int64 v9; // [xsp+10h] [xbp-10h]
__int64 v10; // [xsp+18h] [xbp-8h]
if ( *(_BYTE *)(result + 12744) == 1 && *(_QWORD *)(result + 12856) - *(_QWORD *)(result + 12848) <= 0xF423F0u )
{
v9 = v4;
v10 = v5;
v8 = 0;
v6 = a2;
v7 = a3;
BYTE1(v7) = a4;
return sub_10029D6CC(result + 12848, &v6);
}
return result;
}