{"type": "func", "start": 4299980744, "end": 4299980820, "name": "EditorSFXManager::hasSoundsForAction", "pseudocode": "// \n// EditorSFXManager::hasSoundsForAction from 0x1004c7fc8 to 0x1004c8014 (76 bytes)\n// \n// 8 xrefs:\n// > EditorUI::playSoundForCreatedObject @ 0x100477998\n// > EditorSFXManager::playAction @ 0x1004c7fa8\n// > PlayLayer::tryShowDeathMarkers @ 0x10051e578\n// > PlayLayer::tryShowDeathMarkers @ 0x10051e5e0\n// > PlayLayer::tryShowDeathMarkers @ 0x10051e5f8\n// > PlayLayer::tryShowDeathMarkers @ 0x10051e624\n// > sub_10051E6A8 @ 0x10051e6e8\n// > sub_10051E6A8 @ 0x10051e6fc\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::hasSoundsForAction(_QWORD *a1, int a2)\n{\n  __int64 *result; // x0\n  __int64 **v3; // x8\n  int v4; // [xsp+Ch] [xbp-4h] BYREF\n\n  v4 = a2;\n  result = sub_100019268(a1, &v4);\n  if ( result )\n  {\n    v3 = (__int64 **)result[3];\n    if ( v3 )\n    {\n      result = *v3;\n      if ( *v3 )\n        return (__int64 *)((unsigned int)sub_1002E757C((__int64)result) != 0);\n    }\n    else\n    {\n      return nullptr;\n    }\n  }\n  return result;\n}", "assembly": "; \n; EditorSFXManager::hasSoundsForAction from 0x1004c7fc8 to 0x1004c8014 (76 bytes)\n; \n; 8 xrefs:\n; > EditorUI::playSoundForCreatedObject @ 0x100477998\n; > EditorSFXManager::playAction @ 0x1004c7fa8\n; > PlayLayer::tryShowDeathMarkers @ 0x10051e578\n; > PlayLayer::tryShowDeathMarkers @ 0x10051e5e0\n; > PlayLayer::tryShowDeathMarkers @ 0x10051e5f8\n; > PlayLayer::tryShowDeathMarkers @ 0x10051e624\n; > sub_10051E6A8 @ 0x10051e6e8\n; > sub_10051E6A8 @ 0x10051e6fc\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; \nSUB             SP, SP, #0x20                                          ; +0x0, 0x1004c7fc8\nSTP             X29, X30, [SP,#0x10+var_s0]                            ; +0x4, 0x1004c7fcc\nADD             X29, SP, #0x10                                         ; +0x8, 0x1004c7fd0\nSTUR            W1, [X29,#var_4]                                       ; +0xc, 0x1004c7fd4\nSUB             X1, X29, #-var_4                                       ; +0x10, 0x1004c7fd8\nBL              sub_100019268                                          ; +0x14, 0x1004c7fdc\nCBZ             X0, loc_1004C8008                                      ; +0x18, 0x1004c7fe0\nLDR             X8, [X0,#0x18]                                         ; +0x1c, 0x1004c7fe4\nCBZ             X8, loc_1004C8004                                      ; +0x20, 0x1004c7fe8\nLDR             X0, [X8]                                               ; +0x24, 0x1004c7fec\nCBZ             X0, loc_1004C8008                                      ; +0x28, 0x1004c7ff0\nBL              sub_1002E757C                                          ; +0x2c, 0x1004c7ff4\nCMP             W0, #0                                                 ; +0x30, 0x1004c7ff8\nCSET            W0, NE                                                 ; +0x34, 0x1004c7ffc\nB               loc_1004C8008                                          ; +0x38, 0x1004c8000\nMOV             W0, #0                                                 ; +0x3c, 0x1004c8004\nLDP             X29, X30, [SP,#0x10+var_s0]                            ; +0x40, 0x1004c8008\nADD             SP, SP, #0x20 ; ' '                                    ; +0x44, 0x1004c800c\nRET                                                                    ; +0x48, 0x1004c8010", "xrefs": ["EditorUI::playSoundForCreatedObject @ 0x100477998", "EditorSFXManager::playAction @ 0x1004c7fa8", "PlayLayer::tryShowDeathMarkers @ 0x10051e578", "PlayLayer::tryShowDeathMarkers @ 0x10051e5e0", "PlayLayer::tryShowDeathMarkers @ 0x10051e5f8", "PlayLayer::tryShowDeathMarkers @ 0x10051e624", "sub_10051E6A8 @ 0x10051e6e8", "sub_10051E6A8 @ 0x10051e6fc"], "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"}