{"type": "func", "start": 4299980684, "end": 4299980744, "name": "EditorSFXManager::playAction", "pseudocode": "// \n// EditorSFXManager::playAction from 0x1004c7f8c to 0x1004c7fc8 (60 bytes)\n// \n// 16 xrefs:\n// > EditorUI::handleEditorAction @ 0x100162d08\n// > EditorUI::handleEditorAction @ 0x1001638a8\n// > EditorUI::onCopyState @ 0x10018af60\n// > EditorUI::onPasteState @ 0x10018afb8\n// > EditorUI::onPasteColor @ 0x10018b01c\n// > EditorUI::toggleMode @ 0x100470c4c\n// > EditorUI::toggleSwipe @ 0x100470d0c\n// > EditorUI::toggleFreeMove @ 0x100470e24\n// > EditorUI::toggleSnap @ 0x100470ea8\n// > EditorUI::toggleEnableRotate @ 0x100470ef4\n// > EditorUI::onHideUIBtn @ 0x100471204\n// > EditorUI::editGroup @ 0x100472b34\n// > sub_1004734B8 @ 0x10047353c\n// > EditorUI::editObjectSpecial @ 0x10047c2cc\n// > sub_10047C628 @ 0x10047c644\n// > EditorUI::editObjectOptions @ 0x10047cc18\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:24 +0000\n// \n\n__int64 __fastcall EditorSFXManager::playAction(__int64 a1, __int64 a2, unsigned int a3)\n{\n  unsigned int v4; // w20\n  __int64 v6; // x1\n\n  v4 = a2;\n  if ( (unsigned int)EditorSFXManager::hasSoundsForAction(a1, a2) )\n    v6 = v4;\n  else\n    v6 = a3;\n  return EditorSFXManager::playAction_1(a1, v6);\n}", "assembly": "; \n; EditorSFXManager::playAction from 0x1004c7f8c to 0x1004c7fc8 (60 bytes)\n; \n; 16 xrefs:\n; > EditorUI::handleEditorAction @ 0x100162d08\n; > EditorUI::handleEditorAction @ 0x1001638a8\n; > EditorUI::onCopyState @ 0x10018af60\n; > EditorUI::onPasteState @ 0x10018afb8\n; > EditorUI::onPasteColor @ 0x10018b01c\n; > EditorUI::toggleMode @ 0x100470c4c\n; > EditorUI::toggleSwipe @ 0x100470d0c\n; > EditorUI::toggleFreeMove @ 0x100470e24\n; > EditorUI::toggleSnap @ 0x100470ea8\n; > EditorUI::toggleEnableRotate @ 0x100470ef4\n; > EditorUI::onHideUIBtn @ 0x100471204\n; > EditorUI::editGroup @ 0x100472b34\n; > sub_1004734B8 @ 0x10047353c\n; > EditorUI::editObjectSpecial @ 0x10047c2cc\n; > sub_10047C628 @ 0x10047c644\n; > EditorUI::editObjectOptions @ 0x10047cc18\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:24 +0000\n; \nSTP             X22, X21, [SP,#-0x10+var_20]!                          ; +0x0, 0x1004c7f8c\nSTP             X20, X19, [SP,#0x20+var_10]                            ; +0x4, 0x1004c7f90\nSTP             X29, X30, [SP,#0x20+var_s0]                            ; +0x8, 0x1004c7f94\nADD             X29, SP, #0x20                                         ; +0xc, 0x1004c7f98\nMOV             X19, X2                                                ; +0x10, 0x1004c7f9c\nMOV             X20, X1                                                ; +0x14, 0x1004c7fa0\nMOV             X21, X0                                                ; +0x18, 0x1004c7fa4\nBL              EditorSFXManager__hasSoundsForAction                   ; +0x1c, 0x1004c7fa8\nCMP             W0, #0                                                 ; +0x20, 0x1004c7fac\nCSEL            W1, W20, W19, NE                                       ; +0x24, 0x1004c7fb0\nMOV             X0, X21                                                ; +0x28, 0x1004c7fb4\nLDP             X29, X30, [SP,#0x20+var_s0]                            ; +0x2c, 0x1004c7fb8\nLDP             X20, X19, [SP,#0x20+var_10]                            ; +0x30, 0x1004c7fbc\nLDP             X22, X21, [SP+0x20+var_20],#0x30                       ; +0x34, 0x1004c7fc0\nB               EditorSFXManager__playAction_1                         ; +0x38, 0x1004c7fc4", "xrefs": ["EditorUI::handleEditorAction @ 0x100162d08", "EditorUI::handleEditorAction @ 0x1001638a8", "EditorUI::onCopyState @ 0x10018af60", "EditorUI::onPasteState @ 0x10018afb8", "EditorUI::onPasteColor @ 0x10018b01c", "EditorUI::toggleMode @ 0x100470c4c", "EditorUI::toggleSwipe @ 0x100470d0c", "EditorUI::toggleFreeMove @ 0x100470e24", "EditorUI::toggleSnap @ 0x100470ea8", "EditorUI::toggleEnableRotate @ 0x100470ef4", "EditorUI::onHideUIBtn @ 0x100471204", "EditorUI::editGroup @ 0x100472b34", "sub_1004734B8 @ 0x10047353c", "EditorUI::editObjectSpecial @ 0x10047c2cc", "sub_10047C628 @ 0x10047c644", "EditorUI::editObjectOptions @ 0x10047cc18"], "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"}