{"type": "func", "start": 4299144124, "end": 4299144228, "name": "LevelEditorLayer::addToRedoList", "pseudocode": "// \n// LevelEditorLayer::addToRedoList from 0x1003fbbbc to 0x1003fbc24 (104 bytes)\n// \n// 1 xrefs:\n// > LevelEditorLayer::handleAction @ 0x1003fbf50\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__int64 __fastcall LevelEditorLayer::addToRedoList(__int64 a1)\n{\n  unsigned int v2; // w21\n\n  if ( *(_BYTE *)(a1 + 14007) )\n    v2 = 1000;\n  else\n    v2 = 200;\n  if ( (unsigned int)sub_1002E757C(*(_QWORD *)(a1 + 14264)) >= v2 )\n    sub_1002E7664(*(_QWORD *)(a1 + 14264), 0, 1);\n  return sub_1002E74E0(*(_QWORD *)(a1 + 14264));\n}", "assembly": "; \n; LevelEditorLayer::addToRedoList from 0x1003fbbbc to 0x1003fbc24 (104 bytes)\n; \n; 1 xrefs:\n; > LevelEditorLayer::handleAction @ 0x1003fbf50\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             X22, X21, [SP,#-0x10+var_20]!                          ; +0x0, 0x1003fbbbc\nSTP             X20, X19, [SP,#0x20+var_10]                            ; +0x4, 0x1003fbbc0\nSTP             X29, X30, [SP,#0x20+var_s0]                            ; +0x8, 0x1003fbbc4\nADD             X29, SP, #0x20                                         ; +0xc, 0x1003fbbc8\nMOV             X19, X1                                                ; +0x10, 0x1003fbbcc\nMOV             X20, X0                                                ; +0x14, 0x1003fbbd0\nMOV             W8, #0x36B7                                            ; +0x18, 0x1003fbbd4\nLDRB            W8, [X0,X8]                                            ; +0x1c, 0x1003fbbd8\nCMP             W8, #0                                                 ; +0x20, 0x1003fbbdc\nMOV             W8, #0xC8                                              ; +0x24, 0x1003fbbe0\nMOV             W9, #0x3E8                                             ; +0x28, 0x1003fbbe4\nCSEL            W21, W9, W8, NE                                        ; +0x2c, 0x1003fbbe8\nLDR             X0, [X0,#0x37B8]                                       ; +0x30, 0x1003fbbec\nBL              sub_1002E757C                                          ; +0x34, 0x1003fbbf0\nCMP             W0, W21                                                ; +0x38, 0x1003fbbf4\nB.CC            loc_1003FBC0C                                          ; +0x3c, 0x1003fbbf8\nLDR             X0, [X20,#0x37B8]                                      ; +0x40, 0x1003fbbfc\nMOV             W1, #0                                                 ; +0x44, 0x1003fbc00\nMOV             W2, #1                                                 ; +0x48, 0x1003fbc04\nBL              sub_1002E7664                                          ; +0x4c, 0x1003fbc08\nLDR             X0, [X20,#0x37B8]                                      ; +0x50, 0x1003fbc0c\nMOV             X1, X19                                                ; +0x54, 0x1003fbc10\nLDP             X29, X30, [SP,#0x20+var_s0]                            ; +0x58, 0x1003fbc14\nLDP             X20, X19, [SP,#0x20+var_10]                            ; +0x5c, 0x1003fbc18\nLDP             X22, X21, [SP+0x20+var_20],#0x30                       ; +0x60, 0x1003fbc1c\nB               sub_1002E74E0                                          ; +0x64, 0x1003fbc20", "xrefs": ["LevelEditorLayer::handleAction @ 0x1003fbf50"], "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"}