{"type": "func", "start": 5369516912, "end": 5369517249, "name": "SongOptionsLayer::onInfo", "pseudocode": "// \n// SongOptionsLayer::onInfo from 0x1400c5370 to 0x1400c54c1 (337 bytes)\n// \n// 2 xrefs:\n// > SongOptionsLayer::init @ 0x1400c4b32\n// > <???> @ 0x1406c8130\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 SongOptionsLayer::onInfo(SongOptionsLayer *a1, cocos2d::CCObject *a2)\n{\n  __int64 v2; // rax\n  FLAlertLayer *v3; // rbx\n  __int128 v4; // [rsp+50h] [rbp-48h] BYREF\n  __int64 v5; // [rsp+60h] [rbp-38h]\n  __int64 v6; // [rsp+68h] [rbp-30h]\n  _BYTE v7[40]; // [rsp+70h] [rbp-28h] BYREF\n\n  v4 = 0;\n  *(_QWORD *)&v4 = sub_14003AA10(0xA0u);\n  v5 = 153;\n  v6 = 159;\n  strcpy(\n    (char *)v4,\n    \"<cl>Fade in:</c> Song starts with a fade in.\\n\"\n    \"<cy>Fade out:</c> Song fades out at the end of the level.\\n\"\n    \"<cg>Offset:</c> Change the start time of the song.\");\n  v2 = sub_14003BDB0((__int64)v7, (__int64)&v4);\n  v3 = FLAlertLayer::create(0, (int)\"Options\", v2, (__int64)\"OK\", 0, 1133903872, 0, 0, 1065353216);\n  sub_14003A830((__int64)&v4);\n  v3->show(v3);\n}", "assembly": "; \n; SongOptionsLayer::onInfo from 0x1400c5370 to 0x1400c54c1 (337 bytes)\n; \n; 2 xrefs:\n; > SongOptionsLayer::init @ 0x1400c4b32\n; > <???> @ 0x1406c8130\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, 0x1400c5370\nsub     rsp, 90h                                                       ; +0x2, 0x1400c5372\nxorps   xmm0, xmm0                                                     ; +0x9, 0x1400c5379\nmovups  [rsp+98h+var_48], xmm0                                         ; +0xc, 0x1400c537c\nxor     ebx, ebx                                                       ; +0x11, 0x1400c5381\nmov     [rsp+98h+var_38], rbx                                          ; +0x13, 0x1400c5383\nmov     [rsp+98h+var_30], 0Fh                                          ; +0x18, 0x1400c5388\nmov     ecx, 0A0h                                                      ; +0x21, 0x1400c5391\ncall    sub_14003AA10                                                  ; +0x26, 0x1400c5396\nmov     rcx, rax                                                       ; +0x2b, 0x1400c539b\nmov     qword ptr [rsp+98h+var_48], rax                                ; +0x2e, 0x1400c539e\nmov     [rsp+98h+var_38], 99h                                          ; +0x33, 0x1400c53a3\nmov     [rsp+98h+var_30], 9Fh                                          ; +0x3c, 0x1400c53ac\nmovaps  xmm0, cs:xmmword_14054CCE0                                     ; +0x45, 0x1400c53b5\nmovups  xmmword ptr [rax], xmm0                                        ; +0x4c, 0x1400c53bc\nmovaps  xmm1, cs:xmmword_14054CCF0                                     ; +0x4f, 0x1400c53bf\nmovups  xmmword ptr [rax+10h], xmm1                                    ; +0x56, 0x1400c53c6\nmovaps  xmm0, cs:xmmword_14054CD00                                     ; +0x5a, 0x1400c53ca\nmovups  xmmword ptr [rax+20h], xmm0                                    ; +0x61, 0x1400c53d1\nmovaps  xmm1, cs:xmmword_14054CD10                                     ; +0x65, 0x1400c53d5\nmovups  xmmword ptr [rax+30h], xmm1                                    ; +0x6c, 0x1400c53dc\nmovaps  xmm0, cs:xmmword_14054CD20                                     ; +0x70, 0x1400c53e0\nmovups  xmmword ptr [rax+40h], xmm0                                    ; +0x77, 0x1400c53e7\nmovaps  xmm1, cs:xmmword_14054CD30                                     ; +0x7b, 0x1400c53eb\nmovups  xmmword ptr [rax+50h], xmm1                                    ; +0x82, 0x1400c53f2\nmovaps  xmm0, cs:xmmword_14054CD40                                     ; +0x86, 0x1400c53f6\nmovups  xmmword ptr [rax+60h], xmm0                                    ; +0x8d, 0x1400c53fd\nmovaps  xmm1, cs:xmmword_14054CD50                                     ; +0x91, 0x1400c5401\nmovups  xmmword ptr [rax+70h], xmm1                                    ; +0x98, 0x1400c5408\nmovaps  xmm0, cs:xmmword_14054CD60                                     ; +0x9c, 0x1400c540c\nmovups  xmmword ptr [rax+80h], xmm0                                    ; +0xa3, 0x1400c5413\nmovsd   xmm0, cs:qword_14054CD70                                       ; +0xaa, 0x1400c541a\nmovsd   qword ptr [rax+90h], xmm0                                      ; +0xb2, 0x1400c5422\nmovzx   eax, cs:byte_14054CD78                                         ; +0xba, 0x1400c542a\nmov     [rcx+98h], al                                                  ; +0xc1, 0x1400c5431\nmov     [rcx+99h], bl                                                  ; +0xc7, 0x1400c5437\nlea     rax, [rsp+98h+var_48]                                          ; +0xcd, 0x1400c543d\nmov     [rsp+98h+arg_10], rax                                          ; +0xd2, 0x1400c5442\nlea     rdx, [rsp+98h+var_48]                                          ; +0xda, 0x1400c544a\nlea     rcx, [rsp+98h+var_28]                                          ; +0xdf, 0x1400c544f\ncall    sub_14003BDB0                                                  ; +0xe4, 0x1400c5454\nmovss   xmm0, cs:flt_140622C24                                         ; +0xe9, 0x1400c5459\nmovss   [rsp+98h+var_58], xmm0                                         ; +0xf1, 0x1400c5461\nxorps   xmm1, xmm1                                                     ; +0xf7, 0x1400c5467\nmovss   [rsp+98h+var_60], xmm1                                         ; +0xfa, 0x1400c546a\nmov     [rsp+98h+var_68], bl                                           ; +0x100, 0x1400c5470\nmovss   xmm0, cs:dword_14062343C                                       ; +0x104, 0x1400c5474\nmovss   [rsp+98h+var_70], xmm0                                         ; +0x10c, 0x1400c547c\nmov     [rsp+98h+var_78], rbx                                          ; +0x112, 0x1400c5482\nlea     r9, aOk; \"OK\"                                                  ; +0x117, 0x1400c5487\nmov     r8, rax                                                        ; +0x11e, 0x1400c548e\nlea     rdx, aOptions; \"Options\"                                       ; +0x121, 0x1400c5491\nxor     ecx, ecx                                                       ; +0x128, 0x1400c5498\ncall    FLAlertLayer__create                                           ; +0x12a, 0x1400c549a\nmov     rbx, rax                                                       ; +0x12f, 0x1400c549f\nlea     rcx, [rsp+98h+var_48]                                          ; +0x132, 0x1400c54a2\ncall    sub_14003A830                                                  ; +0x137, 0x1400c54a7\nmov     rdx, [rbx]                                                     ; +0x13c, 0x1400c54ac\nmov     rcx, rbx                                                       ; +0x13f, 0x1400c54af\ncall    qword ptr [rdx+410h]                                           ; +0x142, 0x1400c54b2\nadd     rsp, 90h                                                       ; +0x148, 0x1400c54b8\npop     rbx                                                            ; +0x14f, 0x1400c54bf\nretn                                                                   ; +0x150, 0x1400c54c0", "xrefs": ["SongOptionsLayer::init @ 0x1400c4b32", "<???> @ 0x1406c8130"], "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"}