{"type": "func", "start": 333868, "end": 333920, "name": "FMOD_Geometry_GetActive", "pseudocode": "// \n// FMOD_Geometry_GetActive from 0x5182c to 0x51860 (52 bytes)\n// \n// 4 xrefs:\n// > .FMOD_Geometry_GetActive @ 0x10981c\n// > <???> @ 0x5140\n// > .FMOD_Geometry_GetActive @ 0x109814\n// > <???> @ 0x1114d0\n// \n// This function is hookable on this platform!\n// \n// Using BromaIDA 8.0.0 @ https://github.com/Stazzical/BromaIDA\n// Using bindings at commit ba9f177b at Thu Jul 16 22:52:06 2026 from https://github.com/geode-sdk/bindings\n// \n\n__int64 __fastcall FMOD_Geometry_GetActive(__int64 a1)\n{\n  __int64 v1; // x19\n  FMOD::Geometry *v2; // x0\n  bool *v3; // x1\n  __int64 result; // x0\n\n  if ( !a1 )\n    return 31;\n  v2 = (FMOD::Geometry *)sub_519B8();\n  result = FMOD::Geometry::getActive(v2, v3);\n  if ( v1 )\n  {\n    if ( !(_DWORD)result )\n      return sub_519AC(result);\n  }\n  return result;\n}", "assembly": "; \n; FMOD_Geometry_GetActive from 0x5182c to 0x51860 (52 bytes)\n; \n; 4 xrefs:\n; > .FMOD_Geometry_GetActive @ 0x10981c\n; > <???> @ 0x5140\n; > .FMOD_Geometry_GetActive @ 0x109814\n; > <???> @ 0x1114d0\n; \n; This function is hookable on this platform!\n; \n; Using BromaIDA 8.0.0 @ https:;github.com/Stazzical/BromaIDA\n; Using bindings at commit ba9f177b at Thu Jul 16 22:52:06 2026 from https:;github.com/geode-sdk/bindings\n; \n\nSTR             X19, [SP,#-0x10+var_10]!                               ; +0x0, 0x5182c\nSTP             X29, X30, [SP,#0x10+var_s0]                            ; +0x4, 0x51830\nADD             X29, SP, #0x10                                         ; +0x8, 0x51834\nCBZ             X0, loc_51854                                          ; +0xc, 0x51838\nBL              sub_519B8                                              ; +0x10, 0x5183c\nBL              ._ZN4FMOD8Geometry9getActiveEPb; FMOD::Geometry::getActive(bool *) ; +0x14, 0x51840\nCBZ             X19, loc_51858                                         ; +0x18, 0x51844\nCBNZ            W0, loc_51858                                          ; +0x1c, 0x51848\nBL              sub_519AC                                              ; +0x20, 0x5184c\nB               loc_51858                                              ; +0x24, 0x51850\nMOV             W0, #0x1F                                              ; +0x28, 0x51854\nLDP             X29, X30, [SP,#0x10+var_s0]                            ; +0x2c, 0x51858\nB               loc_519A4                                              ; +0x30, 0x5185c", "xrefs": [".FMOD_Geometry_GetActive @ 0x10981c", "<???> @ 0x5140", ".FMOD_Geometry_GetActive @ 0x109814", "<???> @ 0x1114d0"], "is_objc": false, "is_arm32": false, "is_arm64": false, "bida_info": "8.0.0 @ https://github.com/Stazzical/BromaIDA", "bindings_info": "commit ba9f177b at Thu Jul 16 22:52:06 2026 from https://github.com/geode-sdk/bindings"}