{"type": "func", "start": 4298693284, "end": 4298693408, "name": "CustomSFXWidget::FLAlert_Clicked", "pseudocode": "// \n// CustomSFXWidget::FLAlert_Clicked from 0x10038daa4 to 0x10038db20 (124 bytes)\n// \n// 2 xrefs:\n// > sub_10038DB20 @ 0x10038db24\n// > <???> @ 0x10093f3b8\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:03:36 +0000\n// \n\nvoid __fastcall CustomSFXWidget::FLAlert_Clicked(__int64 a1, __int64 a2, int a3)\n{\n  __int64 v5; // x0\n  __int64 v7; // x0\n\n  v5 = (*(__int64 (__fastcall **)(__int64))(*(_QWORD *)a2 + 64LL))(a2);\n  if ( (_DWORD)v5 == 3 )\n  {\n    if ( a3 )\n      sub_10038D590(a1);\n  }\n  else if ( (_DWORD)v5 == 1 && a3 != 0 )\n  {\n    v7 = GameManager::sharedState(v5);\n    GameManager::setGameVariable(v7, \"0016\", 1);\n    sub_10038C32C(a1);\n  }\n}", "assembly": "; \n; CustomSFXWidget::FLAlert_Clicked from 0x10038daa4 to 0x10038db20 (124 bytes)\n; \n; 2 xrefs:\n; > sub_10038DB20 @ 0x10038db24\n; > <???> @ 0x10093f3b8\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:03:36 +0000\n; \nSTP             X20, X19, [SP,#-0x10+var_10]!                          ; +0x0, 0x10038daa4\nSTP             X29, X30, [SP,#0x10+var_s0]                            ; +0x4, 0x10038daa8\nADD             X29, SP, #0x10                                         ; +0x8, 0x10038daac\nMOV             X20, X2                                                ; +0xc, 0x10038dab0\nMOV             X19, X0                                                ; +0x10, 0x10038dab4\nLDR             X8, [X1]                                               ; +0x14, 0x10038dab8\nLDR             X8, [X8,#0x40]                                         ; +0x18, 0x10038dabc\nMOV             X0, X1                                                 ; +0x1c, 0x10038dac0\nBLR             X8                                                     ; +0x20, 0x10038dac4\nCMP             W0, #3                                                 ; +0x24, 0x10038dac8\nB.EQ            loc_10038DB00                                          ; +0x28, 0x10038dacc\nCMP             W0, #1                                                 ; +0x2c, 0x10038dad0\nCCMP            W20, #0, #4, EQ                                        ; +0x30, 0x10038dad4\nB.EQ            loc_10038DB14                                          ; +0x34, 0x10038dad8\nBL              GameManager__sharedState                               ; +0x38, 0x10038dadc\nADRL            X1, a0016; \"0016\"                                      ; +0x3c, 0x10038dae0\nMOV             W2, #1                                                 ; +0x44, 0x10038dae8\nBL              GameManager__setGameVariable                           ; +0x48, 0x10038daec\nMOV             X0, X19                                                ; +0x4c, 0x10038daf0\nLDP             X29, X30, [SP,#0x10+var_s0]                            ; +0x50, 0x10038daf4\nLDP             X20, X19, [SP+0x10+var_10],#0x20                       ; +0x54, 0x10038daf8\nB               sub_10038C32C                                          ; +0x58, 0x10038dafc\nCBZ             W20, loc_10038DB14                                     ; +0x5c, 0x10038db00\nMOV             X0, X19                                                ; +0x60, 0x10038db04\nLDP             X29, X30, [SP,#0x10+var_s0]                            ; +0x64, 0x10038db08\nLDP             X20, X19, [SP+0x10+var_10],#0x20                       ; +0x68, 0x10038db0c\nB               sub_10038D590                                          ; +0x6c, 0x10038db10\nLDP             X29, X30, [SP,#0x10+var_s0]                            ; +0x70, 0x10038db14\nLDP             X20, X19, [SP+0x10+var_10],#0x20                       ; +0x74, 0x10038db18\nRET                                                                    ; +0x78, 0x10038db1c", "xrefs": ["sub_10038DB20 @ 0x10038db24", "<???> @ 0x10093f3b8"], "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"}