{"type": "func", "start": 5370408320, "end": 5370408633, "name": "EditorSoundsLayer::onSettings", "pseudocode": "// \n// EditorSoundsLayer::onSettings from 0x14019ed80 to 0x14019eeb9 (313 bytes)\n// \n// 2 xrefs:\n// > EditorSoundsLayer::init @ 0x14019d49f\n// > <???> @ 0x1409197f0\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:48 +0000\n// \n\n// Hidden C++ exception states: #wind=1\nstruct cocos2d::CCObject *__fastcall EditorSoundsLayer::onSettings(__int64 a1)\n{\n  void *v2; // rdi\n  struct cocos2d::CCObject *result; // rax\n  __int64 (__fastcall *v4)(__int64); // rdx\n\n  v2 = operator new(0x2B0u);\n  memset(v2, 0, 0x2B0u);\n  FLAlertLayer::FLAlertLayer((__int64)v2);\n  *(_QWORD *)v2 = &EditorSoundsSettingsPopup::`vftable';\n  *((_QWORD *)v2 + 40) = &EditorSoundsSettingsPopup::`vftable';\n  *((_QWORD *)v2 + 41) = &EditorSoundsSettingsPopup::`vftable';\n  *((_QWORD *)v2 + 42) = &EditorSoundsSettingsPopup::`vftable';\n  *((_QWORD *)v2 + 43) = &EditorSoundsSettingsPopup::`vftable';\n  *((_QWORD *)v2 + 44) = &EditorSoundsSettingsPopup::`vftable';\n  *((_QWORD *)v2 + 51) = &EditorSoundsSettingsPopup::`vftable';\n  *((_QWORD *)v2 + 54) = &EditorSoundsSettingsPopup::`vftable';\n  *((_QWORD *)v2 + 68) = &EditorSoundsSettingsPopup::`vftable';\n  *((_QWORD *)v2 + 83) = &EditorSoundsSettingsPopup::`vftable';\n  *((_QWORD *)v2 + 84) = 0;\n  *((_BYTE *)v2 + 680) = 0;\n  if ( !(unsigned __int8)EditorSoundsSettingsPopup::init(v2, a1) )\n    return (struct cocos2d::CCObject *)(*(__int64 (__fastcall **)(void *, __int64))(*(_QWORD *)v2 + 8LL))(v2, 1);\n  result = cocos2d::CCObject::autorelease((cocos2d::CCObject *)v2);\n  if ( v2 )\n  {\n    v4 = *(__int64 (__fastcall **)(__int64))(*(_QWORD *)v2 + 1064LL);\n    if ( v4 == FLAlertLayer::show )\n      return (struct cocos2d::CCObject *)FLAlertLayer::show((__int64)v2);\n    else\n      return (struct cocos2d::CCObject *)v4((__int64)v2);\n  }\n  return result;\n}", "assembly": "; \n; EditorSoundsLayer::onSettings from 0x14019ed80 to 0x14019eeb9 (313 bytes)\n; \n; 2 xrefs:\n; > EditorSoundsLayer::init @ 0x14019d49f\n; > <???> @ 0x1409197f0\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:48 +0000\n; \nmov     [rsp+arg_0], rbx                                               ; +0x0, 0x14019ed80\npush    rdi                                                            ; +0x5, 0x14019ed85\nsub     rsp, 20h                                                       ; +0x6, 0x14019ed86\nmov     rbx, rcx                                                       ; +0xa, 0x14019ed8a\nmov     ecx, 2B0h; Size                                                ; +0xd, 0x14019ed8d\ncall    ??2@YAPEAX_K@Z; operator new(unsigned __int64)                 ; +0x12, 0x14019ed92\nmov     rdi, rax                                                       ; +0x17, 0x14019ed97\nmov     [rsp+28h+arg_10], rax                                          ; +0x1a, 0x14019ed9a\nxor     edx, edx; Val                                                  ; +0x1f, 0x14019ed9f\nmov     r8d, 2B0h; Size                                                ; +0x21, 0x14019eda1\nmov     rcx, rax; void *                                               ; +0x27, 0x14019eda7\ncall    memset                                                         ; +0x2a, 0x14019edaa\nmov     rcx, rdi                                                       ; +0x2f, 0x14019edaf\ncall    FLAlertLayer__FLAlertLayer                                     ; +0x32, 0x14019edb2\nlea     rax, ??_7EditorSoundsSettingsPopup@@6B@; const EditorSoundsSettingsPopup::`vftable' ; +0x37, 0x14019edb7\nmov     [rdi], rax                                                     ; +0x3e, 0x14019edbe\nlea     rax, ??_7EditorSoundsSettingsPopup@@6B@_0; const EditorSoundsSettingsPopup::`vftable' ; +0x41, 0x14019edc1\nmov     [rdi+140h], rax                                                ; +0x48, 0x14019edc8\nlea     rax, ??_7EditorSoundsSettingsPopup@@6B@_1; const EditorSoundsSettingsPopup::`vftable' ; +0x4f, 0x14019edcf\nmov     [rdi+148h], rax                                                ; +0x56, 0x14019edd6\nlea     rax, ??_7EditorSoundsSettingsPopup@@6B@_2; const EditorSoundsSettingsPopup::`vftable' ; +0x5d, 0x14019eddd\nmov     [rdi+150h], rax                                                ; +0x64, 0x14019ede4\nlea     rax, ??_7EditorSoundsSettingsPopup@@6B@_3; const EditorSoundsSettingsPopup::`vftable' ; +0x6b, 0x14019edeb\nmov     [rdi+158h], rax                                                ; +0x72, 0x14019edf2\nlea     rax, ??_7EditorSoundsSettingsPopup@@6B@_4; const EditorSoundsSettingsPopup::`vftable' ; +0x79, 0x14019edf9\nmov     [rdi+160h], rax                                                ; +0x80, 0x14019ee00\nlea     rax, ??_7EditorSoundsSettingsPopup@@6B@_5; const EditorSoundsSettingsPopup::`vftable' ; +0x87, 0x14019ee07\nmov     [rdi+198h], rax                                                ; +0x8e, 0x14019ee0e\nlea     rax, ??_7EditorSoundsSettingsPopup@@6B@_6; const EditorSoundsSettingsPopup::`vftable' ; +0x95, 0x14019ee15\nmov     [rdi+1B0h], rax                                                ; +0x9c, 0x14019ee1c\nlea     rax, ??_7EditorSoundsSettingsPopup@@6B@_7; const EditorSoundsSettingsPopup::`vftable' ; +0xa3, 0x14019ee23\nmov     [rdi+220h], rax                                                ; +0xaa, 0x14019ee2a\nlea     rax, ??_7EditorSoundsSettingsPopup@@6B@_8; const EditorSoundsSettingsPopup::`vftable' ; +0xb1, 0x14019ee31\nmov     [rdi+298h], rax                                                ; +0xb8, 0x14019ee38\nmov     qword ptr [rdi+2A0h], 0                                        ; +0xbf, 0x14019ee3f\nmov     byte ptr [rdi+2A8h], 0                                         ; +0xca, 0x14019ee4a\nmov     rdx, rbx                                                       ; +0xd1, 0x14019ee51\nmov     rcx, rdi                                                       ; +0xd4, 0x14019ee54\ncall    EditorSoundsSettingsPopup__init                                ; +0xd7, 0x14019ee57\nmov     rcx, rdi                                                       ; +0xdc, 0x14019ee5c\ntest    al, al                                                         ; +0xdf, 0x14019ee5f\njz      short loc_14019EEA3                                            ; +0xe1, 0x14019ee61\ncall    cs:?autorelease@CCObject@cocos2d@@QEAAPEAV12@XZ; cocos2d::CCObject::autorelease(void) ; +0xe3, 0x14019ee63\ntest    rdi, rdi                                                       ; +0xe9, 0x14019ee69\njz      short loc_14019EEAE                                            ; +0xec, 0x14019ee6c\nmov     rax, [rdi]                                                     ; +0xee, 0x14019ee6e\nmov     rdx, [rax+428h]                                                ; +0xf1, 0x14019ee71\nlea     rax, FLAlertLayer__show                                        ; +0xf8, 0x14019ee78\nmov     rcx, rdi                                                       ; +0xff, 0x14019ee7f\ncmp     rdx, rax                                                       ; +0x102, 0x14019ee82\njnz     short loc_14019EE96                                            ; +0x105, 0x14019ee85\nmov     rbx, [rsp+28h+arg_0]                                           ; +0x107, 0x14019ee87\nadd     rsp, 20h                                                       ; +0x10c, 0x14019ee8c\npop     rdi                                                            ; +0x110, 0x14019ee90\njmp     FLAlertLayer__show                                             ; +0x111, 0x14019ee91\nmov     rbx, [rsp+28h+arg_0]                                           ; +0x116, 0x14019ee96\nadd     rsp, 20h                                                       ; +0x11b, 0x14019ee9b\npop     rdi                                                            ; +0x11f, 0x14019ee9f\njmp     rdx                                                            ; +0x120, 0x14019eea0\nmov     rax, [rdi]                                                     ; +0x123, 0x14019eea3\nmov     edx, 1                                                         ; +0x126, 0x14019eea6\ncall    qword ptr [rax+8]                                              ; +0x12b, 0x14019eeab\nmov     rbx, [rsp+28h+arg_0]                                           ; +0x12e, 0x14019eeae\nadd     rsp, 20h                                                       ; +0x133, 0x14019eeb3\npop     rdi                                                            ; +0x137, 0x14019eeb7\nretn                                                                   ; +0x138, 0x14019eeb8", "xrefs": ["EditorSoundsLayer::init @ 0x14019d49f", "<???> @ 0x1409197f0"], "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"}