{"type": "func", "start": 4726152, "end": 4726268, "name": "EditorUI::FLAlert_Clicked", "pseudocode": "// \n// EditorUI::FLAlert_Clicked from 0x481d88 to 0x481dfc (116 bytes)\n// \n// 1 xrefs:\n// > `non-virtual thunk to'EditorUI::FLAlert_Clicked @ 0x481e00\n// \n// This function is hookable on this platform (idp: arm, 32 bit: True, 64 bit: False!\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:49:23 +0000\n// \n\nunsigned int __fastcall EditorUI::FLAlert_Clicked(EditorUI *this, FLAlertLayer *a2, int a3)\n{\n  unsigned int result; // r0\n\n  result = (*(int (__fastcall **)(FLAlertLayer *))(*(_DWORD *)a2 + 32))(a2);\n  if ( result == 122 )\n  {\n    *((_BYTE *)this + 464) = 0;\n  }\n  else\n  {\n    result = (*(int (__fastcall **)(FLAlertLayer *))(*(_DWORD *)a2 + 32))(a2);\n    if ( result == 125 )\n    {\n      *((_BYTE *)this + 464) = 0;\n      if ( a3 )\n        *(_BYTE *)(*(_DWORD *)(*((_DWORD *)this + 236) + 1408) + 984) = 1;\n    }\n    else\n    {\n      result = (*(int (__fastcall **)(FLAlertLayer *))(*(_DWORD *)a2 + 32))(a2);\n      if ( result == 126 )\n      {\n        *((_BYTE *)this + 464) = 0;\n        if ( a3 )\n          *(_BYTE *)(*(_DWORD *)(*((_DWORD *)this + 236) + 1408) + 985) = 1;\n      }\n      else if ( a3 )\n      {\n        return EditorUI::onDeleteAll((LevelEditorLayer **)this, nullptr);\n      }\n    }\n  }\n  return result;\n}", "assembly": "; \n; EditorUI::FLAlert_Clicked from 0x481d88 to 0x481dfc (116 bytes)\n; \n; 1 xrefs:\n; > `non-virtual thunk to'EditorUI::FLAlert_Clicked @ 0x481e00\n; \n; This function is hookable on this platform (idp: arm, 32 bit: True, 64 bit: False!\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:49:23 +0000\n; \nPUSH            {R4-R6,LR}                                             ; +0x0, 0x481d88\nMOV             R4, R0                                                 ; +0x2, 0x481d8a\nLDR             R3, [R1]                                               ; +0x4, 0x481d8c\nMOV             R0, R1                                                 ; +0x6, 0x481d8e\nMOV             R5, R1                                                 ; +0x8, 0x481d90\nMOV             R6, R2                                                 ; +0xa, 0x481d92\nLDR             R3, [R3,#0x20]                                         ; +0xc, 0x481d94\nBLX             R3                                                     ; +0xe, 0x481d96\nCMP             R0, #0x7A ; 'z'                                        ; +0x10, 0x481d98\nBNE             loc_481DA4                                             ; +0x12, 0x481d9a\nMOVS            R3, #0                                                 ; +0x14, 0x481d9c\nSTRB.W          R3, [R4,#0x1D0]                                        ; +0x16, 0x481d9e\nPOP             {R4-R6,PC}                                             ; +0x1a, 0x481da2\nLDR             R3, [R5]                                               ; +0x1c, 0x481da4\nMOV             R0, R5                                                 ; +0x1e, 0x481da6\nLDR             R3, [R3,#0x20]                                         ; +0x20, 0x481da8\nBLX             R3                                                     ; +0x22, 0x481daa\nCMP             R0, #0x7D ; '}'                                        ; +0x24, 0x481dac\nBNE             loc_481DC8                                             ; +0x26, 0x481dae\nMOVS            R3, #0                                                 ; +0x28, 0x481db0\nSTRB.W          R3, [R4,#0x1D0]                                        ; +0x2a, 0x481db2\nCBZ             R6, locret_481DFA                                      ; +0x2e, 0x481db6\nLDR.W           R3, [R4,#0x3B0]                                        ; +0x30, 0x481db8\nMOVS            R2, #1                                                 ; +0x34, 0x481dbc\nLDR.W           R3, [R3,#0x580]                                        ; +0x36, 0x481dbe\nSTRB.W          R2, [R3,#0x3D8]                                        ; +0x3a, 0x481dc2\nPOP             {R4-R6,PC}                                             ; +0x3e, 0x481dc6\nLDR             R3, [R5]                                               ; +0x40, 0x481dc8\nMOV             R0, R5                                                 ; +0x42, 0x481dca\nLDR             R3, [R3,#0x20]                                         ; +0x44, 0x481dcc\nBLX             R3                                                     ; +0x46, 0x481dce\nCMP             R0, #0x7E ; '~'                                        ; +0x48, 0x481dd0\nBNE             loc_481DEC                                             ; +0x4a, 0x481dd2\nMOVS            R3, #0                                                 ; +0x4c, 0x481dd4\nSTRB.W          R3, [R4,#0x1D0]                                        ; +0x4e, 0x481dd6\nCBZ             R6, locret_481DFA                                      ; +0x52, 0x481dda\nLDR.W           R3, [R4,#0x3B0]                                        ; +0x54, 0x481ddc\nMOVS            R2, #1                                                 ; +0x58, 0x481de0\nLDR.W           R3, [R3,#0x580]                                        ; +0x5a, 0x481de2\nSTRB.W          R2, [R3,#0x3D9]                                        ; +0x5e, 0x481de6\nPOP             {R4-R6,PC}                                             ; +0x62, 0x481dea\nCBZ             R6, locret_481DFA                                      ; +0x64, 0x481dec\nMOV             R0, R4; this                                           ; +0x66, 0x481dee\nMOVS            R1, #0; cocos2d::CCObject *                            ; +0x68, 0x481df0\nPOP.W           {R4-R6,LR}                                             ; +0x6a, 0x481df2\nB.W             _ZN8EditorUI11onDeleteAllEPN7cocos2d8CCObjectE; EditorUI::onDeleteAll(cocos2d::CCObject *) ; +0x6e, 0x481df6\nPOP             {R4-R6,PC}                                             ; +0x72, 0x481dfa", "xrefs": ["`non-virtual thunk to'EditorUI::FLAlert_Clicked @ 0x481e00"], "is_objc": false, "is_32_bit": true, "is_64_bit": false, "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"}