//
// CreateGuidelinesLayer::onRecord from 0x6e9920 to 0x6e9a64 (324 bytes)
//
// 3 xrefs:
// > FindBPMLayer::onRecord @ 0x6e9a78
// > ??> @ 0xc5998
// > ??> @ 0x14260a0
//
// 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 12:51:45 +0000
//
__int64 __fastcall CreateGuidelinesLayer::onRecord(CreateGuidelinesLayer *this, cocos2d::CCObject *a2)
{
char *v3; // x0
float v4; // s8
__int64 *v5; // x0
__int64 v6; // x2
void (__fastcall *v7)(__int64 *, _BYTE *); // x2
_BYTE v9[8]; // [xsp+38h] [xbp+38h] BYREF
__int64 v10[2]; // [xsp+40h] [xbp+40h] BYREF
char *v11; // [xsp+50h] [xbp+50h]
(*(void (__fastcall **)(_QWORD, _QWORD))(**((_QWORD **)this + 85) + 1160LL))(*((_QWORD *)this + 85), 0);
CCTextInputNode::getString(*((CCTextInputNode **)this + 85), v10);
v3 = (char *)v10 + 1;
if ( (v10[0] & 1) != 0 )
v3 = v11;
v4 = atof(v3);
if ( (v10[0] & 1) != 0 )
operator delete(v11);
CreateGuidelinesLayer::toggleItems((cocos2d::CCArray **)this, 1u);
(*(void (__fastcall **)(_QWORD, _QWORD))(**((_QWORD **)this + 85) + 1000LL))(*((_QWORD *)this + 85), 0);
*((float *)this + 180) = v4;
std::string::assign((__int64 *)this + 92, &byte_11B8890);
*((_DWORD *)this + 182) = 0;
v5 = *((__int64 **)this + 89);
v6 = *v5;
v9[0] = -1;
v9[2] = 0;
v7 = *(void (__fastcall **)(__int64 *, _BYTE *))(v6 + 960);
v9[1] = -106;
v7(v5, v9);
(*(void (__fastcall **)(_QWORD, float))(**((_QWORD **)this + 89) + 160LL))(*((_QWORD *)this + 89), 0.8);
(*(void (__fastcall **)(CreateGuidelinesLayer *))(*(_QWORD *)this + 1368LL))(this);
*((_BYTE *)this + 724) = 1;
cocos2d::CCNode::scheduleUpdate(this);
return _stack_chk_guard;
}