{"type": "func", "start": 7241312, "end": 7241536, "name": "CreateGuidelinesLayer::onInfo", "pseudocode": "// \n// CreateGuidelinesLayer::onInfo from 0x6e7e60 to 0x6e7f40 (224 bytes)\n// \n// 2 xrefs:\n// > <???> @ 0xa2ad8\n// > <???> @ 0x1426098\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:44 +0000\n// \n\n__int64 __fastcall CreateGuidelinesLayer::onInfo(CreateGuidelinesLayer *this, cocos2d::CCObject *a2)\n{\n  __int64 v2; // x20\n  _QWORD v4[2]; // [xsp+20h] [xbp+20h] BYREF\n  void *v5; // [xsp+30h] [xbp+30h]\n\n  v5 = (void *)operator new(0x130u);\n  v4[1] = 289;\n  v4[0] = 305;\n  *((_BYTE *)memcpy(\n               v5,\n               \"Guidelines can be used to make it easier to syncronize music and gameplay. Create your own custom song gu\"\n               \"idelines using this interface. Tap on record to start recording, then tap on the screen to create marking\"\n               \"s. Press on the stop button to stop recording and save your created guidelines.\",\n               0x121u)\n  + 289) = 0;\n  v2 = FLAlertLayer::create(0, (cocos2d::CCLabelBMFont *)\"Guidelines\", (char *)v4, (ButtonSprite *)\"OK\", nullptr, 400.0);\n  if ( (v4[0] & 1) != 0 )\n    operator delete(v5);\n  (*(void (__fastcall **)(__int64))(*(_QWORD *)v2 + 1312LL))(v2);\n  return _stack_chk_guard;\n}", "assembly": "; \n; CreateGuidelinesLayer::onInfo from 0x6e7e60 to 0x6e7f40 (224 bytes)\n; \n; 2 xrefs:\n; > <???> @ 0xa2ad8\n; > <???> @ 0x1426098\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:44 +0000\n; \nSTP             X29, X30, [SP,#var_40]!                                ; +0x0, 0x6e7e60\nMOV             X0, #0x130; unsigned __int64                           ; +0x4, 0x6e7e64\nMOV             X29, SP                                                ; +0x8, 0x6e7e68\nSTP             X19, X20, [SP,#0x40+var_30]                            ; +0xc, 0x6e7e6c\nADRP            X19, #__stack_chk_guard_ptr@PAGE                       ; +0x10, 0x6e7e70\nSTR             XZR, [X29,#0x40+var_20]                                ; +0x14, 0x6e7e74\nSTR             XZR, [X29,#0x40+var_18]                                ; +0x18, 0x6e7e78\nLDR             X1, [X19,#__stack_chk_guard_ptr@PAGEOFF]; __stack_chk_guard ; +0x1c, 0x6e7e7c\nSTR             XZR, [X29,#0x40+var_10]                                ; +0x20, 0x6e7e80\nLDR             X1, [X1]                                               ; +0x24, 0x6e7e84\nSTR             X1, [X29,#0x40+var_8]                                  ; +0x28, 0x6e7e88\nBL              _Znwm; operator new(ulong)                             ; +0x2c, 0x6e7e8c\nSTR             X0, [X29,#0x40+var_10]                                 ; +0x30, 0x6e7e90\nMOV             X4, #0x121                                             ; +0x34, 0x6e7e94\nADRP            X1, #aGuidelinesCanB@PAGE; \"Guidelines can be used to make it easie\"... ; +0x38, 0x6e7e98\nMOV             X2, X4; size_t                                         ; +0x3c, 0x6e7e9c\nADD             X1, X1, #aGuidelinesCanB@PAGEOFF; \"Guidelines can be used to make it easie\"... ; +0x40, 0x6e7ea0\nSTR             X4, [X29,#0x40+var_18]                                 ; +0x44, 0x6e7ea4\nMOV             X4, #0x131                                             ; +0x48, 0x6e7ea8\nSTR             X4, [X29,#0x40+var_20]                                 ; +0x4c, 0x6e7eac\nBL              .memcpy                                                ; +0x50, 0x6e7eb0\nSTRB            WZR, [X0,#0x121]                                       ; +0x54, 0x6e7eb4\nLDR             S0, =0x43C80000                                        ; +0x58, 0x6e7eb8\nADRP            X1, #aGuidelines@PAGE; \"Guidelines\"                    ; +0x5c, 0x6e7ebc\nADRP            X3, #aOk@PAGE; \"OK\"                                    ; +0x60, 0x6e7ec0\nMOV             X0, #0                                                 ; +0x64, 0x6e7ec4\nADD             X1, X1, #aGuidelines@PAGEOFF; \"Guidelines\"             ; +0x68, 0x6e7ec8\nADD             X2, X29, #0x40+var_20                                  ; +0x6c, 0x6e7ecc\nADD             X3, X3, #aOk@PAGEOFF; \"OK\"                             ; +0x70, 0x6e7ed0\nMOV             X4, #0                                                 ; +0x74, 0x6e7ed4\nBL              _ZN12FLAlertLayer6createEP20FLAlertLayerProtocolPKcNSt6__ndk112basic_stringIcNS4_11char_traitsIcEENS4_9allocatorIcEEEES3_S3_f; FLAlertLayer::create(FLAlertLayerProtocol *,char const*,std::string,char const*,char const*,float) ; +0x78, 0x6e7ed8\nMOV             X20, X0                                                ; +0x7c, 0x6e7edc\nLDRB            W0, [X29,#0x40+var_20]                                 ; +0x80, 0x6e7ee0\nTBZ             W0, #0, loc_6E7EF0                                     ; +0x84, 0x6e7ee4\nLDR             X0, [X29,#0x40+var_10]; void *                         ; +0x88, 0x6e7ee8\nBL              _ZdlPv; operator delete(void *)                        ; +0x8c, 0x6e7eec\nLDR             X1, [X20]                                              ; +0x90, 0x6e7ef0\nMOV             X0, X20                                                ; +0x94, 0x6e7ef4\nLDR             X1, [X1,#0x520]                                        ; +0x98, 0x6e7ef8\nBLR             X1                                                     ; +0x9c, 0x6e7efc\nLDR             X19, [X19,#__stack_chk_guard_ptr@PAGEOFF]; __stack_chk_guard ; +0xa0, 0x6e7f00\nLDR             X1, [X29,#0x40+var_8]                                  ; +0xa4, 0x6e7f04\nLDR             X0, [X19]                                              ; +0xa8, 0x6e7f08\nCMP             X1, X0                                                 ; +0xac, 0x6e7f0c\nB.NE            loc_6E7F20                                             ; +0xb0, 0x6e7f10\nLDP             X19, X20, [SP,#0x40+var_30]                            ; +0xb4, 0x6e7f14\nLDP             X29, X30, [SP+0x40+var_40],#0x40                       ; +0xb8, 0x6e7f18\nRET                                                                    ; +0xbc, 0x6e7f1c\nBL              .__stack_chk_fail                                      ; +0xc0, 0x6e7f20\nLDRB            W1, [X29,#0x40+var_20]                                 ; +0xc4, 0x6e7f24\nMOV             X19, X0                                                ; +0xc8, 0x6e7f28\nTBZ             W1, #0, loc_6E7F38                                     ; +0xcc, 0x6e7f2c\nLDR             X0, [X29,#0x40+var_10]; void *                         ; +0xd0, 0x6e7f30\nBL              _ZdlPv; operator delete(void *)                        ; +0xd4, 0x6e7f34\nMOV             X0, X19                                                ; +0xd8, 0x6e7f38\nBL              _Unwind_Resume                                         ; +0xdc, 0x6e7f3c", "xrefs": ["<???> @ 0xa2ad8", "<???> @ 0x1426098"], "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"}