{"type": "func", "start": 4300263440, "end": 4300263582, "name": "CreateGuidelinesLayer::onInfo", "pseudocode": "// \n// CreateGuidelinesLayer::onInfo from 0x10050d010 to 0x10050d09e (142 bytes)\n// \n// 1 xrefs:\n// > <???> @ 0x10095c168\n// \n// This function is hookable on this platform!\n// \n// Using BromaIDA 8.0.0 @ https://github.com/Stazzical/BromaIDA\n// Using bindings at commit ba9f177b at Thu Jul 16 22:52:06 2026 from https://github.com/geode-sdk/bindings\n// \n\nvoid __fastcall CreateGuidelinesLayer::onInfo(CreateGuidelinesLayer *a1, cocos2d::CCObject *a2)\n{\n  char *v2; // rbx\n  _QWORD v3[2]; // [rsp+0h] [rbp-20h] BYREF\n  void *__p; // [rsp+10h] [rbp-10h]\n\n  __p = operator new(0x128u);\n  v3[0] = 297;\n  v3[1] = 289;\n  strcpy(\n    (char *)__p,\n    \"Guidelines can be used to make it easier to syncronize music and gameplay. Create your own custom song guidelines us\"\n    \"ing this interface. Tap on record to start recording, then tap on the screen to create markings. Press on the stop b\"\n    \"utton to stop recording and save your created guidelines.\");\n  v2 = FLAlertLayer::create_1(0, (int)\"Guidelines\", (__int64)v3, (int)\"OK\", 0, COERCE_DOUBLE(1137180672));\n  if ( (v3[0] & 1) != 0 )\n    operator delete(__p);\n  (*(void (__fastcall **)(char *))(*(_QWORD *)v2 + 1288LL))(v2);\n}", "assembly": "; \n; CreateGuidelinesLayer::onInfo from 0x10050d010 to 0x10050d09e (142 bytes)\n; \n; 1 xrefs:\n; > <???> @ 0x10095c168\n; \n; This function is hookable on this platform!\n; \n; Using BromaIDA 8.0.0 @ https:;github.com/Stazzical/BromaIDA\n; Using bindings at commit ba9f177b at Thu Jul 16 22:52:06 2026 from https:;github.com/geode-sdk/bindings\n; \n\npush    rbp                                                            ; +0x0, 0x10050d010\nmov     rbp, rsp                                                       ; +0x1, 0x10050d011\npush    rbx                                                            ; +0x4, 0x10050d014\nsub     rsp, 18h                                                       ; +0x5, 0x10050d015\nmov     edi, 128h; __sz                                                ; +0x9, 0x10050d019\ncall    __Znwm; operator new(ulong)                                    ; +0xe, 0x10050d01e\nmov     rbx, rax                                                       ; +0x13, 0x10050d023\nmov     [rbp+__p], rax                                                 ; +0x16, 0x10050d026\nmov     [rbp+var_20], 129h                                             ; +0x1a, 0x10050d02a\nmov     [rbp+var_18], 121h                                             ; +0x22, 0x10050d032\nlea     rsi, aGuidelinesCanB; \"Guidelines can be used to make it easie\"... ; +0x2a, 0x10050d03a\nmov     edx, 121h; __n                                                 ; +0x31, 0x10050d041\nmov     rdi, rax; __dst                                                ; +0x36, 0x10050d046\ncall    _memcpy                                                        ; +0x39, 0x10050d049\nmov     byte ptr [rbx+121h], 0                                         ; +0x3e, 0x10050d04e\nlea     rsi, aGuidelines; \"Guidelines\"                                 ; +0x45, 0x10050d055\nlea     rcx, aOk; \"OK\"                                                 ; +0x4c, 0x10050d05c\nlea     rdx, [rbp+var_20]                                              ; +0x53, 0x10050d063\nmovss   xmm0, cs:dword_1008157B4                                       ; +0x57, 0x10050d067\nxor     edi, edi                                                       ; +0x5f, 0x10050d06f\nxor     r8d, r8d                                                       ; +0x61, 0x10050d071\ncall    FLAlertLayer__create_1                                         ; +0x64, 0x10050d074\nmov     rbx, rax                                                       ; +0x69, 0x10050d079\ntest    byte ptr [rbp+var_20], 1                                       ; +0x6c, 0x10050d07c\njz      short loc_10050D08B                                            ; +0x70, 0x10050d080\nmov     rdi, [rbp+__p]; __p                                            ; +0x72, 0x10050d082\ncall    __ZdlPv; operator delete(void *)                               ; +0x76, 0x10050d086\nmov     rax, [rbx]                                                     ; +0x7b, 0x10050d08b\nmov     rdi, rbx                                                       ; +0x7e, 0x10050d08e\ncall    qword ptr [rax+508h]                                           ; +0x81, 0x10050d091\nadd     rsp, 18h                                                       ; +0x87, 0x10050d097\npop     rbx                                                            ; +0x8b, 0x10050d09b\npop     rbp                                                            ; +0x8c, 0x10050d09c\nretn                                                                   ; +0x8d, 0x10050d09d", "xrefs": ["<???> @ 0x10095c168"], "is_objc": false, "is_arm32": false, "is_arm64": false, "bida_info": "8.0.0 @ https://github.com/Stazzical/BromaIDA", "bindings_info": "commit ba9f177b at Thu Jul 16 22:52:06 2026 from https://github.com/geode-sdk/bindings"}