//
// CreateGuidelinesLayer::onRecord from 0x3f8e54 to 0x3f8f22 (206 bytes)
//
// 1 xrefs:
// > FindBPMLayer::onRecord @ 0x3f8f34
//
// This function is hookable on this platform (idp: arm, 32 bit: True, 64 bit: False!
//
// 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:47:19 +0000
//
int __fastcall CreateGuidelinesLayer::onRecord(CreateGuidelinesLayer *this, cocos2d::CCObject *a2)
{
char *v3; // r0
double v4; // d8
int *v5; // r0
int v6; // r2
void (__fastcall *v7)(int *, _BYTE *); // r2
_BYTE v9[4]; // [sp+4h] [bp-14h] BYREF
char v10; // [sp+8h] [bp-10h] BYREF
char v11; // [sp+9h] [bp-Fh] BYREF
char *v12; // [sp+10h] [bp-8h]
(*(void (__fastcall **)(_DWORD, _DWORD))(**((_DWORD **)this + 132) + 580))(*((_DWORD *)this + 132), 0);
CCTextInputNode::getString((CCTextInputNode *)&v10, *((_DWORD *)this + 132));
if ( (v10 & 1) != 0 )
v3 = v12;
else
v3 = &v11;
v4 = atof(v3);
std::string::~string((int)&v10);
CreateGuidelinesLayer::toggleItems((cocos2d::CCArray **)this, 1);
(*(void (__fastcall **)(_DWORD, _DWORD))(**((_DWORD **)this + 132) + 500))(*((_DWORD *)this + 132), 0);
*(float *)&v4 = v4;
*((_DWORD *)this + 137) = LODWORD(v4);
std::string::assign((int *)this + 140, (char *)&unk_B6B226);
v5 = *((int **)this + 136);
*((_DWORD *)this + 139) = 0;
v6 = *v5;
v9[0] = -1;
v9[2] = 0;
v7 = *(void (__fastcall **)(int *, _BYTE *))(v6 + 480);
v9[1] = -106;
v7(v5, v9);
(*(void (__fastcall **)(_DWORD, int))(**((_DWORD **)this + 136) + 80))(*((_DWORD *)this + 136), 1061997773);
(*(void (__fastcall **)(CreateGuidelinesLayer *))(*(_DWORD *)this + 684))(this);
*((_BYTE *)this + 552) = 1;
return cocos2d::CCNode::scheduleUpdate(this);
}