{"type": "func", "start": 5370375872, "end": 5370376190, "name": "EditorSoundConfigInfoLayer::onLoad", "pseudocode": "// \n// EditorSoundConfigInfoLayer::onLoad from 0x140196ec0 to 0x140196ffe (318 bytes)\n// \n// 3 xrefs:\n// > EditorSoundConfigInfoLayer::init @ 0x140193076\n// > EditorSoundConfigInfoLayer::init @ 0x1401930f3\n// > <???> @ 0x140919598\n// \n// This function is hookable on this platform (idp: pc, 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 11:27:45 +0000\n// \n\n// Hidden C++ exception states: #wind=1\n__int64 __fastcall EditorSoundConfigInfoLayer::onLoad(__int64 a1)\n{\n  int v1; // ebx\n  __int64 v2; // rax\n  cocos2d::CCObject *v3; // rbx\n  __int128 v5; // [rsp+50h] [rbp-48h] BYREF\n  __int64 v6; // [rsp+60h] [rbp-38h]\n  __int64 v7; // [rsp+68h] [rbp-30h]\n  _BYTE v8[40]; // [rsp+70h] [rbp-28h] BYREF\n\n  v1 = a1 + 1016;\n  if ( !a1 )\n    v1 = 0;\n  v5 = 0;\n  *(_QWORD *)&v5 = sub_14003D460(0x50u);\n  v6 = 71;\n  v7 = 79;\n  strcpy((char *)v5, \"This will <cr>replace</c> your current sounds with this pack. Continue?\");\n  v2 = sub_14003F4F0((__int64)v8, (__int64)&v5);\n  v3 = FLAlertLayer::create(\n         v1,\n         (int)\"Load Sound Pack\",\n         v2,\n         (__int64)\"Cancel\",\n         (__int64)\"Load\",\n         1136525312,\n         0,\n         0,\n         1065353216);\n  sub_14003D310((__int64)&v5);\n  (*(void (__fastcall **)(cocos2d::CCObject *, __int64))(*(_QWORD *)v3 + 64LL))(v3, 7001);\n  return (*(__int64 (__fastcall **)(cocos2d::CCObject *))(*(_QWORD *)v3 + 1064LL))(v3);\n}", "assembly": "; \n; EditorSoundConfigInfoLayer::onLoad from 0x140196ec0 to 0x140196ffe (318 bytes)\n; \n; 3 xrefs:\n; > EditorSoundConfigInfoLayer::init @ 0x140193076\n; > EditorSoundConfigInfoLayer::init @ 0x1401930f3\n; > <???> @ 0x140919598\n; \n; This function is hookable on this platform (idp: pc, 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 11:27:45 +0000\n; \npush    rbx                                                            ; +0x0, 0x140196ec0\nsub     rsp, 90h                                                       ; +0x2, 0x140196ec2\nlea     rbx, [rcx+3F8h]                                                ; +0x9, 0x140196ec9\nxor     eax, eax                                                       ; +0x10, 0x140196ed0\ntest    rcx, rcx                                                       ; +0x12, 0x140196ed2\ncmovz   rbx, rax                                                       ; +0x15, 0x140196ed5\nxorps   xmm0, xmm0                                                     ; +0x19, 0x140196ed9\nmovups  [rsp+98h+var_48], xmm0                                         ; +0x1c, 0x140196edc\nmov     [rsp+98h+var_38], rax                                          ; +0x21, 0x140196ee1\nmov     [rsp+98h+var_30], rax                                          ; +0x26, 0x140196ee6\nmov     ecx, 50h ; 'P'                                                 ; +0x2b, 0x140196eeb\ncall    sub_14003D460                                                  ; +0x30, 0x140196ef0\nmov     rcx, rax                                                       ; +0x35, 0x140196ef5\nmov     qword ptr [rsp+98h+var_48], rax                                ; +0x38, 0x140196ef8\nmov     [rsp+98h+var_38], 47h ; 'G'                                    ; +0x3d, 0x140196efd\nmov     [rsp+98h+var_30], 4Fh ; 'O'                                    ; +0x46, 0x140196f06\nmovaps  xmm0, cs:xmmword_14074D480                                     ; +0x4f, 0x140196f0f\nmovups  xmmword ptr [rax], xmm0                                        ; +0x56, 0x140196f16\nmovaps  xmm1, cs:xmmword_14074D490                                     ; +0x59, 0x140196f19\nmovups  xmmword ptr [rax+10h], xmm1                                    ; +0x60, 0x140196f20\nmovaps  xmm0, cs:xmmword_14074D4A0                                     ; +0x64, 0x140196f24\nmovups  xmmword ptr [rax+20h], xmm0                                    ; +0x6b, 0x140196f2b\nmovaps  xmm1, cs:xmmword_14074D4B0                                     ; +0x6f, 0x140196f2f\nmovups  xmmword ptr [rax+30h], xmm1                                    ; +0x76, 0x140196f36\nmov     eax, cs:dword_14074D4C0                                        ; +0x7a, 0x140196f3a\nmov     [rcx+40h], eax                                                 ; +0x80, 0x140196f40\nmovzx   eax, cs:word_14074D4C4                                         ; +0x83, 0x140196f43\nmov     [rcx+44h], ax                                                  ; +0x8a, 0x140196f4a\nmovzx   eax, cs:byte_14074D4C6                                         ; +0x8e, 0x140196f4e\nmov     [rcx+46h], al                                                  ; +0x95, 0x140196f55\nmov     byte ptr [rcx+47h], 0                                          ; +0x98, 0x140196f58\nlea     rax, [rsp+98h+var_48]                                          ; +0x9c, 0x140196f5c\nmov     [rsp+98h+arg_0], rax                                           ; +0xa1, 0x140196f61\nlea     rdx, [rsp+98h+var_48]                                          ; +0xa9, 0x140196f69\nlea     rcx, [rsp+98h+var_28]                                          ; +0xae, 0x140196f6e\ncall    sub_14003F4F0                                                  ; +0xb3, 0x140196f73\nmovss   xmm0, cs:flt_140835080                                         ; +0xb8, 0x140196f78\nmovss   [rsp+98h+var_58], xmm0                                         ; +0xc0, 0x140196f80\nxorps   xmm1, xmm1                                                     ; +0xc6, 0x140196f86\nmovss   [rsp+98h+var_60], xmm1                                         ; +0xc9, 0x140196f89\nmov     [rsp+98h+var_68], 0                                            ; +0xcf, 0x140196f8f\nmovss   xmm0, cs:dword_140835A04                                       ; +0xd4, 0x140196f94\nmovss   [rsp+98h+var_70], xmm0                                         ; +0xdc, 0x140196f9c\nlea     rcx, aLoad; \"Load\"                                             ; +0xe2, 0x140196fa2\nmov     [rsp+98h+var_78], rcx                                          ; +0xe9, 0x140196fa9\nlea     r9, aCancel; \"Cancel\"                                          ; +0xee, 0x140196fae\nmov     r8, rax                                                        ; +0xf5, 0x140196fb5\nlea     rdx, aLoadSoundPack; \"Load Sound Pack\"                         ; +0xf8, 0x140196fb8\nmov     rcx, rbx                                                       ; +0xff, 0x140196fbf\ncall    FLAlertLayer__create                                           ; +0x102, 0x140196fc2\nmov     rbx, rax                                                       ; +0x107, 0x140196fc7\nlea     rcx, [rsp+98h+var_48]                                          ; +0x10a, 0x140196fca\ncall    sub_14003D310                                                  ; +0x10f, 0x140196fcf\nmov     rcx, [rbx]                                                     ; +0x114, 0x140196fd4\nmov     r8, [rcx+40h]                                                  ; +0x117, 0x140196fd7\nmov     edx, 1B59h                                                     ; +0x11b, 0x140196fdb\nmov     rcx, rbx                                                       ; +0x120, 0x140196fe0\ncall    r8                                                             ; +0x123, 0x140196fe3\nmov     rcx, [rbx]                                                     ; +0x126, 0x140196fe6\nmov     rdx, [rcx+428h]                                                ; +0x129, 0x140196fe9\nmov     rcx, rbx                                                       ; +0x130, 0x140196ff0\ncall    rdx                                                            ; +0x133, 0x140196ff3\nadd     rsp, 90h                                                       ; +0x135, 0x140196ff5\npop     rbx                                                            ; +0x13c, 0x140196ffc\nretn                                                                   ; +0x13d, 0x140196ffd", "xrefs": ["EditorSoundConfigInfoLayer::init @ 0x140193076", "EditorSoundConfigInfoLayer::init @ 0x1401930f3", "<???> @ 0x140919598"], "is_objc": false, "is_32_bit": false, "is_64_bit": true, "idp_name": "pc", "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"}