{"type": "func", "start": 5372727600, "end": 5372727720, "name": "EditorSoundsSettingsPopup::FLAlert_Clicked", "pseudocode": "// \n// EditorSoundsSettingsPopup::FLAlert_Clicked from 0x1403d5130 to 0x1403d51a8 (120 bytes)\n// \n// 2 xrefs:\n// > <???> @ 0x140785fb0\n// > <???> @ 0x140924944\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:31:36 +0000\n// \n\n__int64 __fastcall EditorSoundsSettingsPopup::FLAlert_Clicked(__int64 a1, __int64 a2, char a3)\n{\n  __int64 result; // rax\n  _QWORD *v5; // rax\n  __int64 v6; // rcx\n  __int64 v7; // rdx\n\n  result = *(unsigned __int8 *)(a1 + 16);\n  *(_BYTE *)(a1 + 16) = 0;\n  if ( (_BYTE)result && a3 )\n  {\n    v5 = (_QWORD *)EditorSFXManager::sharedState();\n    EditorSFXManager::clearAll(v5);\n    v6 = *(_QWORD *)(a1 + 8);\n    if ( v6 )\n      cocos2d::CCNode::scheduleOnce(v6, FLAlertLayer::rebuildContentDeferred);\n    (*(void (__fastcall **)(__int64, _QWORD))(*(_QWORD *)(a1 - 664) + 992LL))(a1 - 664, 0);\n    LOBYTE(v7) = 1;\n    return (*(__int64 (__fastcall **)(__int64, __int64))(*(_QWORD *)(a1 - 664) + 520LL))(a1 - 664, v7);\n  }\n  return result;\n}", "assembly": "; \n; EditorSoundsSettingsPopup::FLAlert_Clicked from 0x1403d5130 to 0x1403d51a8 (120 bytes)\n; \n; 2 xrefs:\n; > <???> @ 0x140785fb0\n; > <???> @ 0x140924944\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:31:36 +0000\n; \npush    rbx                                                            ; +0x0, 0x1403d5130\nsub     rsp, 20h                                                       ; +0x2, 0x1403d5132\nmovzx   eax, byte ptr [rcx+10h]                                        ; +0x6, 0x1403d5136\nmov     rbx, rcx                                                       ; +0xa, 0x1403d513a\nmov     byte ptr [rcx+10h], 0                                          ; +0xd, 0x1403d513d\ntest    al, al                                                         ; +0x11, 0x1403d5141\njz      short loc_1403D51A2                                            ; +0x13, 0x1403d5143\ntest    r8b, r8b                                                       ; +0x15, 0x1403d5145\njz      short loc_1403D51A2                                            ; +0x18, 0x1403d5148\ncall    EditorSFXManager__sharedState                                  ; +0x1a, 0x1403d514a\nmov     rcx, rax                                                       ; +0x1f, 0x1403d514f\ncall    EditorSFXManager__clearAll                                     ; +0x22, 0x1403d5152\nmov     rcx, [rbx+8]                                                   ; +0x27, 0x1403d5157\ntest    rcx, rcx                                                       ; +0x2b, 0x1403d515b\njz      short loc_1403D5170                                            ; +0x2e, 0x1403d515e\nxorps   xmm2, xmm2                                                     ; +0x30, 0x1403d5160\nlea     rdx, FLAlertLayer__rebuildContentDeferred                      ; +0x33, 0x1403d5163\ncall    cs:?scheduleOnce@CCNode@cocos2d@@QEAAXP8CCObject@2@EAAXM@ZM@Z; cocos2d::CCNode::scheduleOnce(void (cocos2d::CCObject::*)(float),float) ; +0x3a, 0x1403d516a\nmov     rax, [rbx-298h]                                                ; +0x40, 0x1403d5170\nlea     rcx, [rbx-298h]                                                ; +0x47, 0x1403d5177\nxor     edx, edx                                                       ; +0x4e, 0x1403d517e\ncall    qword ptr [rax+3E0h]                                           ; +0x50, 0x1403d5180\nmov     rax, [rbx-298h]                                                ; +0x56, 0x1403d5186\nlea     rcx, [rbx-298h]                                                ; +0x5d, 0x1403d518d\nmov     dl, 1                                                          ; +0x64, 0x1403d5194\nadd     rsp, 20h                                                       ; +0x66, 0x1403d5196\npop     rbx                                                            ; +0x6a, 0x1403d519a\njmp     qword ptr [rax+208h]                                           ; +0x6b, 0x1403d519b\nadd     rsp, 20h                                                       ; +0x72, 0x1403d51a2\npop     rbx                                                            ; +0x76, 0x1403d51a6\nretn                                                                   ; +0x77, 0x1403d51a7", "xrefs": ["<???> @ 0x140785fb0", "<???> @ 0x140924944"], "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"}