{"type": "func", "start": 4300050836, "end": 4300050944, "name": "EditorSoundsSettingsPopup::FLAlert_Clicked", "pseudocode": "// \n// EditorSoundsSettingsPopup::FLAlert_Clicked from 0x1004d9194 to 0x1004d9200 (108 bytes)\n// \n// 2 xrefs:\n// > sub_1004D9200 @ 0x1004d9204\n// > <???> @ 0x10098b3c0\n// \n// This function is hookable on this platform (idp: arm, 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:06:32 +0000\n// \n\n__int64 __fastcall EditorSoundsSettingsPopup::FLAlert_Clicked(__int64 result, __int64 a2, int a3)\n{\n  int v3; // w8\n  _QWORD *v5; // x19\n  _QWORD *v6; // x0\n  __int64 v7; // x0\n\n  v3 = *(unsigned __int8 *)(result + 680);\n  *(_BYTE *)(result + 680) = 0;\n  if ( v3 == 1 && a3 != 0 )\n  {\n    v5 = (_QWORD *)result;\n    v6 = (_QWORD *)EditorSFXManager::sharedState();\n    EditorSFXManager::clearAll(v6);\n    v7 = v5[84];\n    if ( v7 )\n      FLAlertLayer::requestRebuild(v7);\n    (*(void (__fastcall **)(_QWORD *, _QWORD))(*v5 + 1072LL))(v5, 0);\n    return (*(__int64 (__fastcall **)(_QWORD *, __int64))(*v5 + 528LL))(v5, 1);\n  }\n  return result;\n}", "assembly": "; \n; EditorSoundsSettingsPopup::FLAlert_Clicked from 0x1004d9194 to 0x1004d9200 (108 bytes)\n; \n; 2 xrefs:\n; > sub_1004D9200 @ 0x1004d9204\n; > <???> @ 0x10098b3c0\n; \n; This function is hookable on this platform (idp: arm, 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:06:32 +0000\n; \nLDRB            W8, [X0,#0x2A8]                                        ; +0x0, 0x1004d9194\nSTRB            WZR, [X0,#0x2A8]                                       ; +0x4, 0x1004d9198\nCMP             W8, #1                                                 ; +0x8, 0x1004d919c\nCCMP            W2, #0, #4, EQ                                         ; +0xc, 0x1004d91a0\nB.NE            loc_1004D91AC                                          ; +0x10, 0x1004d91a4\nRET                                                                    ; +0x14, 0x1004d91a8\nSTP             X20, X19, [SP,#var_20]!                                ; +0x18, 0x1004d91ac\nSTP             X29, X30, [SP,#0x20+var_10]                            ; +0x1c, 0x1004d91b0\nADD             X29, SP, #0x20+var_10                                  ; +0x20, 0x1004d91b4\nMOV             X19, X0                                                ; +0x24, 0x1004d91b8\nBL              EditorSFXManager__sharedState                          ; +0x28, 0x1004d91bc\nBL              EditorSFXManager__clearAll                             ; +0x2c, 0x1004d91c0\nLDR             X0, [X19,#0x2A0]                                       ; +0x30, 0x1004d91c4\nCBZ             X0, loc_1004D91D0                                      ; +0x34, 0x1004d91c8\nBL              FLAlertLayer__requestRebuild                           ; +0x38, 0x1004d91cc\nLDR             X8, [X19]                                              ; +0x3c, 0x1004d91d0\nLDR             X8, [X8,#0x430]                                        ; +0x40, 0x1004d91d4\nMOV             X0, X19                                                ; +0x44, 0x1004d91d8\nMOV             W1, #0                                                 ; +0x48, 0x1004d91dc\nBLR             X8                                                     ; +0x4c, 0x1004d91e0\nLDR             X8, [X19]                                              ; +0x50, 0x1004d91e4\nLDR             X2, [X8,#0x210]                                        ; +0x54, 0x1004d91e8\nMOV             X0, X19                                                ; +0x58, 0x1004d91ec\nMOV             W1, #1                                                 ; +0x5c, 0x1004d91f0\nLDP             X29, X30, [SP,#0x20+var_10]                            ; +0x60, 0x1004d91f4\nLDP             X20, X19, [SP+0x20+var_20],#0x20                       ; +0x64, 0x1004d91f8\nBR              X2                                                     ; +0x68, 0x1004d91fc", "xrefs": ["sub_1004D9200 @ 0x1004d9204", "<???> @ 0x10098b3c0"], "is_objc": false, "is_32_bit": false, "is_64_bit": true, "idp_name": "arm", "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"}