{"type": "func", "start": 275490, "end": 275528, "name": "FMOD_System_GetSpeakerPosition", "pseudocode": "// \n// FMOD_System_GetSpeakerPosition from 0x43422 to 0x43448 (38 bytes)\n// \n// 1 xrefs:\n// > j_FMOD_System_GetSpeakerPosition @ 0xe17f8\n// \n// This function is hookable on this platform (idp: arm, 32 bit: True, 64 bit: False!\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:40:36 +0000\n// \n\nint __fastcall FMOD_System_GetSpeakerPosition(int a1, int a2, int a3, int a4, _DWORD *a5)\n{\n  int result; // r0\n  unsigned __int8 v6; // [sp+7h] [bp-9h]\n\n  v6 = HIBYTE(a4);\n  if ( !a1 )\n    return 31;\n  result = FMOD::System::getSpeakerPosition(a1, a2);\n  if ( a5 )\n  {\n    if ( !result )\n    {\n      *a5 = v6;\n      return 0;\n    }\n  }\n  return result;\n}", "assembly": "; \n; FMOD_System_GetSpeakerPosition from 0x43422 to 0x43448 (38 bytes)\n; \n; 1 xrefs:\n; > j_FMOD_System_GetSpeakerPosition @ 0xe17f8\n; \n; This function is hookable on this platform (idp: arm, 32 bit: True, 64 bit: False!\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:40:36 +0000\n; \nPUSH            {R2-R5,R7,LR}                                          ; +0x0, 0x43422\nADD             R7, SP, #0x10                                          ; +0x2, 0x43424\nCBZ             R0, loc_43442                                          ; +0x4, 0x43426\nSUB.W           R5, R7, #-(-8+var_1)                                   ; +0x6, 0x43428\nLDR             R4, [R7,#-8+arg_0]                                     ; +0xa, 0x4342c\nSTR             R5, [SP,#8+var_8]                                      ; +0xc, 0x4342e\nBLX             j__ZN4FMOD6System18getSpeakerPositionE12FMOD_SPEAKERPfS2_Pb; FMOD::System::getSpeakerPosition(FMOD_SPEAKER,float *,float *,bool *) ; +0xe, 0x43430\nCBZ             R4, loc_43444                                          ; +0x12, 0x43434\nCBNZ            R0, loc_43444                                          ; +0x14, 0x43436\nLDRB.W          R0, [R7,#-8+var_1]                                     ; +0x16, 0x43438\nSTR             R0, [R4]                                               ; +0x1a, 0x4343c\nMOVS            R0, #0                                                 ; +0x1c, 0x4343e\nB               loc_43444                                              ; +0x1e, 0x43440\nMOVS            R0, #0x1F                                              ; +0x20, 0x43442\nADD             SP, SP, #8                                             ; +0x22, 0x43444\nPOP             {R4,R5,R7,PC}                                          ; +0x24, 0x43446", "xrefs": ["j_FMOD_System_GetSpeakerPosition @ 0xe17f8"], "is_objc": false, "is_32_bit": true, "is_64_bit": false, "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"}