{"type": "func", "start": 5369345088, "end": 5369345413, "name": "CreateGuidelinesLayer::onInfo", "pseudocode": "// \n// CreateGuidelinesLayer::onInfo from 0x14009b440 to 0x14009b585 (325 bytes)\n// \n// 2 xrefs:\n// > <???> @ 0x140542988\n// > <???> @ 0x1406c74a0\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\n// Hidden C++ exception states: #wind=1\nvoid CreateGuidelinesLayer::onInfo(CreateGuidelinesLayer *a1, cocos2d::CCObject *a2)\n{\n  _QWORD *v2; // r8\n  _OWORD *v3; // rcx\n  const char *v4; // rax\n  __int64 v5; // rdx\n  __int64 v6; // rax\n  FLAlertLayer *v7; // rbx\n  __int128 v8; // [rsp+50h] [rbp-48h] BYREF\n  __int64 v9; // [rsp+60h] [rbp-38h]\n  __int64 v10; // [rsp+68h] [rbp-30h]\n  _BYTE v11[40]; // [rsp+70h] [rbp-28h] BYREF\n\n  v8 = 0;\n  v2 = sub_14003AA10(0x130u);\n  *(_QWORD *)&v8 = v2;\n  v9 = 289;\n  v10 = 303;\n  v3 = v2;\n  v4 = \"Guidelines can be used to make it easier to syncronize music and gameplay. Create your own custom song guidelines\"\n       \" using this interface. Tap on record to start recording, then tap on the screen to create markings. Press on the \"\n       \"stop button to stop recording and save your created guidelines.\";\n  v5 = 2;\n  do\n  {\n    *v3 = *(_OWORD *)v4;\n    v3[1] = *((_OWORD *)v4 + 1);\n    v3[2] = *((_OWORD *)v4 + 2);\n    v3[3] = *((_OWORD *)v4 + 3);\n    v3[4] = *((_OWORD *)v4 + 4);\n    v3[5] = *((_OWORD *)v4 + 5);\n    v3[6] = *((_OWORD *)v4 + 6);\n    v3 += 8;\n    *(v3 - 1) = *((_OWORD *)v4 + 7);\n    v4 += 128;\n    --v5;\n  }\n  while ( v5 );\n  *v3 = *(_OWORD *)v4;\n  v3[1] = *((_OWORD *)v4 + 1);\n  *((_BYTE *)v3 + 32) = v4[32];\n  *((_BYTE *)v2 + 289) = 0;\n  v6 = sub_14003BDB0((__int64)v11, (__int64)&v8);\n  v7 = FLAlertLayer::create(0, (int)\"Guidelines\", v6, (__int64)\"OK\", 0, 1137180672, 0, 0, 1065353216);\n  sub_14003A830((__int64)&v8);\n  v7->show(v7);\n}", "assembly": "; \n; CreateGuidelinesLayer::onInfo from 0x14009b440 to 0x14009b585 (325 bytes)\n; \n; 2 xrefs:\n; > <???> @ 0x140542988\n; > <???> @ 0x1406c74a0\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    rbx                                                            ; +0x0, 0x14009b440\nsub     rsp, 90h                                                       ; +0x2, 0x14009b442\nxorps   xmm0, xmm0                                                     ; +0x9, 0x14009b449\nmovups  [rsp+98h+var_48], xmm0                                         ; +0xc, 0x14009b44c\nxor     ebx, ebx                                                       ; +0x11, 0x14009b451\nmov     [rsp+98h+var_38], rbx                                          ; +0x13, 0x14009b453\nmov     [rsp+98h+var_30], 0Fh                                          ; +0x18, 0x14009b458\nmov     ecx, 130h                                                      ; +0x21, 0x14009b461\ncall    sub_14003AA10                                                  ; +0x26, 0x14009b466\nmov     r8, rax                                                        ; +0x2b, 0x14009b46b\nmov     qword ptr [rsp+98h+var_48], rax                                ; +0x2e, 0x14009b46e\nmov     [rsp+98h+var_38], 121h                                         ; +0x33, 0x14009b473\nmov     [rsp+98h+var_30], 12Fh                                         ; +0x3c, 0x14009b47c\nmov     rcx, rax                                                       ; +0x45, 0x14009b485\nlea     rax, aGuidelinesCanB; \"Guidelines can be used to make it easie\"... ; +0x48, 0x14009b488\nlea     edx, [rbx+2]                                                   ; +0x4f, 0x14009b48f\nmovups  xmm0, xmmword ptr [rax]                                        ; +0x52, 0x14009b492\nmovups  xmmword ptr [rcx], xmm0                                        ; +0x55, 0x14009b495\nmovups  xmm1, xmmword ptr [rax+10h]                                    ; +0x58, 0x14009b498\nmovups  xmmword ptr [rcx+10h], xmm1                                    ; +0x5c, 0x14009b49c\nmovups  xmm0, xmmword ptr [rax+20h]                                    ; +0x60, 0x14009b4a0\nmovups  xmmword ptr [rcx+20h], xmm0                                    ; +0x64, 0x14009b4a4\nmovups  xmm1, xmmword ptr [rax+30h]                                    ; +0x68, 0x14009b4a8\nmovups  xmmword ptr [rcx+30h], xmm1                                    ; +0x6c, 0x14009b4ac\nmovups  xmm0, xmmword ptr [rax+40h]                                    ; +0x70, 0x14009b4b0\nmovups  xmmword ptr [rcx+40h], xmm0                                    ; +0x74, 0x14009b4b4\nmovups  xmm1, xmmword ptr [rax+50h]                                    ; +0x78, 0x14009b4b8\nmovups  xmmword ptr [rcx+50h], xmm1                                    ; +0x7c, 0x14009b4bc\nmovups  xmm0, xmmword ptr [rax+60h]                                    ; +0x80, 0x14009b4c0\nmovups  xmmword ptr [rcx+60h], xmm0                                    ; +0x84, 0x14009b4c4\nlea     rcx, [rcx+80h]                                                 ; +0x88, 0x14009b4c8\nmovups  xmm1, xmmword ptr [rax+70h]                                    ; +0x8f, 0x14009b4cf\nmovups  xmmword ptr [rcx-10h], xmm1                                    ; +0x93, 0x14009b4d3\nlea     rax, [rax+80h]                                                 ; +0x97, 0x14009b4d7\nsub     rdx, 1                                                         ; +0x9e, 0x14009b4de\njnz     short loc_14009B492                                            ; +0xa2, 0x14009b4e2\nmovups  xmm0, xmmword ptr [rax]                                        ; +0xa4, 0x14009b4e4\nmovups  xmmword ptr [rcx], xmm0                                        ; +0xa7, 0x14009b4e7\nmovups  xmm1, xmmword ptr [rax+10h]                                    ; +0xaa, 0x14009b4ea\nmovups  xmmword ptr [rcx+10h], xmm1                                    ; +0xae, 0x14009b4ee\nmovzx   eax, byte ptr [rax+20h]                                        ; +0xb2, 0x14009b4f2\nmov     [rcx+20h], al                                                  ; +0xb6, 0x14009b4f6\nmov     [r8+121h], bl                                                  ; +0xb9, 0x14009b4f9\nlea     rax, [rsp+98h+var_48]                                          ; +0xc0, 0x14009b500\nmov     [rsp+98h+arg_10], rax                                          ; +0xc5, 0x14009b505\nlea     rdx, [rsp+98h+var_48]                                          ; +0xcd, 0x14009b50d\nlea     rcx, [rsp+98h+var_28]                                          ; +0xd2, 0x14009b512\ncall    sub_14003BDB0                                                  ; +0xd7, 0x14009b517\nmovss   xmm0, cs:flt_140622C24                                         ; +0xdc, 0x14009b51c\nmovss   [rsp+98h+var_58], xmm0                                         ; +0xe4, 0x14009b524\nxorps   xmm1, xmm1                                                     ; +0xea, 0x14009b52a\nmovss   [rsp+98h+var_60], xmm1                                         ; +0xed, 0x14009b52d\nmov     [rsp+98h+var_68], 0                                            ; +0xf3, 0x14009b533\nmovss   xmm0, cs:dword_140623488                                       ; +0xf8, 0x14009b538\nmovss   [rsp+98h+var_70], xmm0                                         ; +0x100, 0x14009b540\nmov     [rsp+98h+var_78], rbx                                          ; +0x106, 0x14009b546\nlea     r9, aOk; \"OK\"                                                  ; +0x10b, 0x14009b54b\nmov     r8, rax                                                        ; +0x112, 0x14009b552\nlea     rdx, aGuidelines; \"Guidelines\"                                 ; +0x115, 0x14009b555\nxor     ecx, ecx                                                       ; +0x11c, 0x14009b55c\ncall    FLAlertLayer__create                                           ; +0x11e, 0x14009b55e\nmov     rbx, rax                                                       ; +0x123, 0x14009b563\nlea     rcx, [rsp+98h+var_48]                                          ; +0x126, 0x14009b566\ncall    sub_14003A830                                                  ; +0x12b, 0x14009b56b\nmov     rdx, [rbx]                                                     ; +0x130, 0x14009b570\nmov     rcx, rbx                                                       ; +0x133, 0x14009b573\ncall    qword ptr [rdx+410h]                                           ; +0x136, 0x14009b576\nadd     rsp, 90h                                                       ; +0x13c, 0x14009b57c\npop     rbx                                                            ; +0x143, 0x14009b583\nretn                                                                   ; +0x144, 0x14009b584", "xrefs": ["<???> @ 0x140542988", "<???> @ 0x1406c74a0"], "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"}