//
// GJBaseGameLayer::recordAction from 0x1001fb2a8 to 0x1001fb318 (112 bytes)
//
// 1 xrefs:
// > GJBaseGameLayer::handleButton @ 0x1001fadb4
//
// This function is hookable on this platform!
//
// Using BromaIDA 8.0.0 @ https://github.com/Stazzical/BromaIDA
// Using bindings at commit ba9f177b at Thu Jul 16 22:52:06 2026 from https://github.com/geode-sdk/bindings
//
void __fastcall GJBaseGameLayer::recordAction(GJBaseGameLayer *a1, int a2, bool a3, bool a4)
{
__int64 v4; // x29
__int64 v5; // x30
int v6; // [xsp+0h] [xbp-20h] BYREF
_BOOL8 v7; // [xsp+4h] [xbp-1Ch]
int v8; // [xsp+Ch] [xbp-14h]
__int64 v9; // [xsp+10h] [xbp-10h]
__int64 v10; // [xsp+18h] [xbp-8h]
if ( a1->m_recordInputs
&& !a1->m_useReplay
&& (std::__vector_base::pointer)((char *)a1->m_queuedRecordedButtons.__end_
- (char *)a1->m_queuedRecordedButtons.__begin_) <= (std::__vector_base::pointer)0x1869F0 )
{
v9 = v4;
v10 = v5;
v8 = 0;
v6 = a2;
v7 = a3;
BYTE1(v7) = a4;
sub_1002013E0(&a1->m_queuedRecordedButtons, &v6);
}
}