// // CreateGuidelinesLayer::onRecord from 0x10050c570 to 0x10050c67b (267 bytes) // // 2 xrefs: // > FindBPMLayer::onRecord @ 0x10050d7e9 // > @ 0x10095c170 // // 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 CreateGuidelinesLayer::onRecord(CreateGuidelinesLayer *a1, cocos2d::CCObject *a2) { double v3; // xmm0_8 double v4; // xmm0_8 char *v5; // r14 float v6; // xmm0_4 cocos2d::CCSprite *m_circleSprite; // rdi char v8[16]; // [rsp+0h] [rbp-30h] BYREF char *v9; // [rsp+10h] [rbp-20h] double v10; // [rsp+18h] [rbp-18h] v3 = ((double (__fastcall *)(CCTextInputNode *, _QWORD))a1->m_offsetInput->onClickTrackNode)(a1->m_offsetInput, 0); CCTextInputNode::getString(v8, (__int64)a1->m_offsetInput, v3); if ( (v8[0] & 1) != 0 ) { v5 = v9; v10 = atof(v9); operator delete(v5); v4 = v10; } else { v4 = atof(&v8[1]); } v6 = v4; *(float *)&v10 = v6; CreateGuidelinesLayer::toggleItems(a1, 1); ((void (__fastcall *)(CCTextInputNode *, _QWORD))a1->m_offsetInput->setTouchEnabled)(a1->m_offsetInput, 0); a1->m_elapsed = *(float *)&v10; std::string::assign((std::string *)&a1->m_guidelineString, ""); a1->m_guidelines = 0; m_circleSprite = a1->m_circleSprite; v8[2] = 0; *(_WORD *)v8 = -26881; ((void (__fastcall *)(cocos2d::CCSprite *, char *))m_circleSprite->setColor)(m_circleSprite, v8); ((void (__fastcall *)(cocos2d::CCSprite *, float))a1->m_circleSprite->setScale)(a1->m_circleSprite, 0.80000001); ((void (__fastcall *)(CreateGuidelinesLayer *))a1->playMusic)(a1); a1->m_recording = 1; cocos2d::CCNode::scheduleUpdate(a1); }