{"type": "func", "start": 4299146660, "end": 4299146748, "name": "LevelEditorLayer::redoLastAction", "pseudocode": "// \n// LevelEditorLayer::redoLastAction from 0x1003fc5a4 to 0x1003fc5fc (88 bytes)\n// \n// 2 xrefs:\n// > LevelEditorLayer::handleAction @ 0x1003fbfa4\n// > EditorUI::redoLastAction @ 0x100470fd4\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:04:36 +0000\n// \n\n_DWORD *__fastcall LevelEditorLayer::redoLastAction(__int64 a1)\n{\n  __int64 v2; // x0\n\n  v2 = cocos2d::CCDirector::sharedDirector();\n  if ( (*(_BYTE *)((*(__int64 (__fastcall **)(__int64))(*(_QWORD *)v2 + 192LL))(v2) + 133) & 1) == 0 )\n  {\n    ++*(_DWORD *)(a1 + 14724);\n    EditorBuildStats::noteAction(a1 + 14704);\n  }\n  return LevelEditorLayer::handleAction(a1, 0, *(_QWORD *)(a1 + 14264));\n}", "assembly": "; \n; LevelEditorLayer::redoLastAction from 0x1003fc5a4 to 0x1003fc5fc (88 bytes)\n; \n; 2 xrefs:\n; > LevelEditorLayer::handleAction @ 0x1003fbfa4\n; > EditorUI::redoLastAction @ 0x100470fd4\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:04:36 +0000\n; \nSTP             X20, X19, [SP,#-0x10+var_10]!                          ; +0x0, 0x1003fc5a4\nSTP             X29, X30, [SP,#0x10+var_s0]                            ; +0x4, 0x1003fc5a8\nADD             X29, SP, #0x10                                         ; +0x8, 0x1003fc5ac\nMOV             X19, X0                                                ; +0xc, 0x1003fc5b0\nBL              cocos2d__CCDirector__sharedDirector                    ; +0x10, 0x1003fc5b4\nLDR             X8, [X0]                                               ; +0x14, 0x1003fc5b8\nLDR             X8, [X8,#0xC0]                                         ; +0x18, 0x1003fc5bc\nBLR             X8                                                     ; +0x1c, 0x1003fc5c0\nLDRB            W8, [X0,#0x85]                                         ; +0x20, 0x1003fc5c4\nTBNZ            W8, #0, loc_1003FC5E4                                  ; +0x24, 0x1003fc5c8\nMOV             W8, #0x3970                                            ; +0x28, 0x1003fc5cc\nLDR             W9, [X19,#0x3984]                                      ; +0x2c, 0x1003fc5d0\nADD             W9, W9, #1                                             ; +0x30, 0x1003fc5d4\nSTR             W9, [X19,#0x3984]                                      ; +0x34, 0x1003fc5d8\nADD             X0, X19, X8                                            ; +0x38, 0x1003fc5dc\nBL              EditorBuildStats__noteAction                           ; +0x3c, 0x1003fc5e0\nLDR             X2, [X19,#0x37B8]                                      ; +0x40, 0x1003fc5e4\nMOV             X0, X19                                                ; +0x44, 0x1003fc5e8\nMOV             W1, #0                                                 ; +0x48, 0x1003fc5ec\nLDP             X29, X30, [SP,#0x10+var_s0]                            ; +0x4c, 0x1003fc5f0\nLDP             X20, X19, [SP+0x10+var_10],#0x20                       ; +0x50, 0x1003fc5f4\nB               LevelEditorLayer__handleAction                         ; +0x54, 0x1003fc5f8", "xrefs": ["LevelEditorLayer::handleAction @ 0x1003fbfa4", "EditorUI::redoLastAction @ 0x100470fd4"], "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"}