{"type": "func", "start": 7248160, "end": 7248484, "name": "CreateGuidelinesLayer::onRecord", "pseudocode": "// \n// CreateGuidelinesLayer::onRecord from 0x6e9920 to 0x6e9a64 (324 bytes)\n// \n// 3 xrefs:\n// > FindBPMLayer::onRecord @ 0x6e9a78\n// > <???> @ 0xc5998\n// > <???> @ 0x14260a0\n// \n// This function is hookable on this platform (idp: arm, 32 bit: False, 64 bit: True!\n// \n// Using BromaIDA 8.3.0 @ https://github.com/Stazzical/BromaIDA\n// Using bindings at commit 1c6ec395 at Thu Nov 26 21:29:22 2026 from https://github.com/geode-sdk/bindings\n// Generated at Fri, 27 Nov 2026 12:51:45 +0000\n// \n\n__int64 __fastcall CreateGuidelinesLayer::onRecord(CreateGuidelinesLayer *this, cocos2d::CCObject *a2)\n{\n  char *v3; // x0\n  float v4; // s8\n  __int64 *v5; // x0\n  __int64 v6; // x2\n  void (__fastcall *v7)(__int64 *, _BYTE *); // x2\n  _BYTE v9[8]; // [xsp+38h] [xbp+38h] BYREF\n  __int64 v10[2]; // [xsp+40h] [xbp+40h] BYREF\n  char *v11; // [xsp+50h] [xbp+50h]\n\n  (*(void (__fastcall **)(_QWORD, _QWORD))(**((_QWORD **)this + 85) + 1160LL))(*((_QWORD *)this + 85), 0);\n  CCTextInputNode::getString(*((CCTextInputNode **)this + 85), v10);\n  v3 = (char *)v10 + 1;\n  if ( (v10[0] & 1) != 0 )\n    v3 = v11;\n  v4 = atof(v3);\n  if ( (v10[0] & 1) != 0 )\n    operator delete(v11);\n  CreateGuidelinesLayer::toggleItems((cocos2d::CCArray **)this, 1u);\n  (*(void (__fastcall **)(_QWORD, _QWORD))(**((_QWORD **)this + 85) + 1000LL))(*((_QWORD *)this + 85), 0);\n  *((float *)this + 180) = v4;\n  std::string::assign((__int64 *)this + 92, &byte_11B8890);\n  *((_DWORD *)this + 182) = 0;\n  v5 = *((__int64 **)this + 89);\n  v6 = *v5;\n  v9[0] = -1;\n  v9[2] = 0;\n  v7 = *(void (__fastcall **)(__int64 *, _BYTE *))(v6 + 960);\n  v9[1] = -106;\n  v7(v5, v9);\n  (*(void (__fastcall **)(_QWORD, float))(**((_QWORD **)this + 89) + 160LL))(*((_QWORD *)this + 89), 0.8);\n  (*(void (__fastcall **)(CreateGuidelinesLayer *))(*(_QWORD *)this + 1368LL))(this);\n  *((_BYTE *)this + 724) = 1;\n  cocos2d::CCNode::scheduleUpdate(this);\n  return _stack_chk_guard;\n}", "assembly": "; \n; CreateGuidelinesLayer::onRecord from 0x6e9920 to 0x6e9a64 (324 bytes)\n; \n; 3 xrefs:\n; > FindBPMLayer::onRecord @ 0x6e9a78\n; > <???> @ 0xc5998\n; > <???> @ 0x14260a0\n; \n; This function is hookable on this platform (idp: arm, 32 bit: False, 64 bit: True!\n; \n; Using BromaIDA 8.3.0 @ https://github.com/Stazzical/BromaIDA\n; Using bindings at commit 1c6ec395 at Thu Nov 26 21:29:22 2026 from https://github.com/geode-sdk/bindings\n; Generated at Fri, 27 Nov 2026 12:51:45 +0000\n; \nSTP             X29, X30, [SP,#var_60]!                                ; +0x0, 0x6e9920\nMOV             W1, #0                                                 ; +0x4, 0x6e9924\nMOV             X29, SP                                                ; +0x8, 0x6e9928\nSTP             X19, X20, [SP,#0x60+var_50]                            ; +0xc, 0x6e992c\nSTR             X21, [SP,#0x60+var_40]                                 ; +0x10, 0x6e9930\nADRP            X21, #__stack_chk_guard_ptr@PAGE                       ; +0x14, 0x6e9934\nSTR             D8, [SP,#0x60+var_38]                                  ; +0x18, 0x6e9938\nMOV             X19, X0                                                ; +0x1c, 0x6e993c\nLDR             X2, [X0,#0x2A8]                                        ; +0x20, 0x6e9940\nADD             X20, X29, #0x60+var_20                                 ; +0x24, 0x6e9944\nLDR             X3, [X21,#__stack_chk_guard_ptr@PAGEOFF]; __stack_chk_guard ; +0x28, 0x6e9948\nMOV             X0, X2                                                 ; +0x2c, 0x6e994c\nLDR             X2, [X2]                                               ; +0x30, 0x6e9950\nLDR             X3, [X3]                                               ; +0x34, 0x6e9954\nSTR             X3, [X29,#0x60+var_8]                                  ; +0x38, 0x6e9958\nLDR             X2, [X2,#0x488]                                        ; +0x3c, 0x6e995c\nBLR             X2                                                     ; +0x40, 0x6e9960\nLDR             X0, [X19,#0x2A8]; this                                 ; +0x44, 0x6e9964\nMOV             X8, X20                                                ; +0x48, 0x6e9968\nBL              _ZN15CCTextInputNode9getStringEv; CCTextInputNode::getString(void) ; +0x4c, 0x6e996c\nLDRB            W1, [X29,#0x60+var_20]                                 ; +0x50, 0x6e9970\nADD             X0, X20, #1                                            ; +0x54, 0x6e9974\nTBZ             W1, #0, loc_6E9980                                     ; +0x58, 0x6e9978\nLDR             X0, [X29,#0x60+var_10]; char *                         ; +0x5c, 0x6e997c\nBL              .atof                                                  ; +0x60, 0x6e9980\nLDRB            W0, [X29,#0x60+var_20]                                 ; +0x64, 0x6e9984\nFCVT            S8, D0                                                 ; +0x68, 0x6e9988\nTBZ             W0, #0, loc_6E9998                                     ; +0x6c, 0x6e998c\nLDR             X0, [X29,#0x60+var_10]; void *                         ; +0x70, 0x6e9990\nBL              _ZdlPv; operator delete(void *)                        ; +0x74, 0x6e9994\nMOV             X0, X19; this                                          ; +0x78, 0x6e9998\nMOV             W1, #1; bool                                           ; +0x7c, 0x6e999c\nBL              _ZN21CreateGuidelinesLayer11toggleItemsEb; CreateGuidelinesLayer::toggleItems(bool) ; +0x80, 0x6e99a0\nLDR             X2, [X19,#0x2A8]                                       ; +0x84, 0x6e99a4\nMOV             W1, #0                                                 ; +0x88, 0x6e99a8\nMOV             X0, X2                                                 ; +0x8c, 0x6e99ac\nLDR             X2, [X2]                                               ; +0x90, 0x6e99b0\nLDR             X2, [X2,#0x3E8]                                        ; +0x94, 0x6e99b4\nBLR             X2                                                     ; +0x98, 0x6e99b8\nADRP            X1, #byte_11B8890@PAGE                                 ; +0x9c, 0x6e99bc\nADD             X0, X19, #0x2E0; int                                   ; +0xa0, 0x6e99c0\nADD             X1, X1, #byte_11B8890@PAGEOFF; char *                  ; +0xa4, 0x6e99c4\nSTR             S8, [X19,#0x2D0]                                       ; +0xa8, 0x6e99c8\nBL              _ZNSt6__ndk112basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEE6assignEPKc; std::string::assign(char const*) ; +0xac, 0x6e99cc\nSTR             WZR, [X19,#0x2D8]                                      ; +0xb0, 0x6e99d0\nLDR             X2, [X19,#0x2C8]                                       ; +0xb4, 0x6e99d4\nMOV             W3, #0xFFFFFFFF                                        ; +0xb8, 0x6e99d8\nADD             X1, X29, #0x60+var_28                                  ; +0xbc, 0x6e99dc\nMOV             X0, X2                                                 ; +0xc0, 0x6e99e0\nLDR             X2, [X2]                                               ; +0xc4, 0x6e99e4\nSTRB            W3, [X29,#0x60+var_28]                                 ; +0xc8, 0x6e99e8\nMOV             W3, #0xFFFFFF96                                        ; +0xcc, 0x6e99ec\nSTRB            WZR, [X29,#0x60+var_26]                                ; +0xd0, 0x6e99f0\nLDR             X2, [X2,#0x3C0]                                        ; +0xd4, 0x6e99f4\nSTRB            W3, [X29,#0x60+var_27]                                 ; +0xd8, 0x6e99f8\nBLR             X2                                                     ; +0xdc, 0x6e99fc\nLDR             X1, [X19,#0x2C8]                                       ; +0xe0, 0x6e9a00\nLDR             S0, =0x3F4CCCCD                                        ; +0xe4, 0x6e9a04\nMOV             X0, X1                                                 ; +0xe8, 0x6e9a08\nLDR             X1, [X1]                                               ; +0xec, 0x6e9a0c\nLDR             X1, [X1,#0xA0]                                         ; +0xf0, 0x6e9a10\nBLR             X1                                                     ; +0xf4, 0x6e9a14\nLDR             X1, [X19]                                              ; +0xf8, 0x6e9a18\nMOV             X0, X19                                                ; +0xfc, 0x6e9a1c\nLDR             X1, [X1,#0x558]                                        ; +0x100, 0x6e9a20\nBLR             X1                                                     ; +0x104, 0x6e9a24\nMOV             W1, #1                                                 ; +0x108, 0x6e9a28\nMOV             X0, X19; this                                          ; +0x10c, 0x6e9a2c\nSTRB            W1, [X19,#0x2D4]                                       ; +0x110, 0x6e9a30\nBL              _ZN7cocos2d6CCNode14scheduleUpdateEv; cocos2d::CCNode::scheduleUpdate(void) ; +0x114, 0x6e9a34\nLDR             X21, [X21,#__stack_chk_guard_ptr@PAGEOFF]; __stack_chk_guard ; +0x118, 0x6e9a38\nLDR             X1, [X29,#0x60+var_8]                                  ; +0x11c, 0x6e9a3c\nLDR             X0, [X21]                                              ; +0x120, 0x6e9a40\nCMP             X1, X0                                                 ; +0x124, 0x6e9a44\nB.NE            loc_6E9A60                                             ; +0x128, 0x6e9a48\nLDP             X19, X20, [SP,#0x60+var_50]                            ; +0x12c, 0x6e9a4c\nLDR             X21, [SP,#0x60+var_40]                                 ; +0x130, 0x6e9a50\nLDR             D8, [SP,#0x60+var_38]                                  ; +0x134, 0x6e9a54\nLDP             X29, X30, [SP+0x60+var_60],#0x60                       ; +0x138, 0x6e9a58\nRET                                                                    ; +0x13c, 0x6e9a5c\nBL              .__stack_chk_fail                                      ; +0x140, 0x6e9a60", "xrefs": ["FindBPMLayer::onRecord @ 0x6e9a78", "<???> @ 0xc5998", "<???> @ 0x14260a0"], "is_objc": false, "is_32_bit": false, "is_64_bit": true, "idp_name": "arm", "bida_info": "8.3.0 @ https://github.com/Stazzical/BromaIDA", "bindings_info": "commit 1c6ec395 at Thu Nov 26 21:29:22 2026 from https://github.com/geode-sdk/bindings"}