{"type": "func", "start": 719208, "end": 719260, "name": "sub_AF968", "pseudocode": "// \n// sub_AF968 from 0xaf968 to 0xaf99c (52 bytes)\n// \n// 2 xrefs:\n// > FMOD::ChannelControl::get3DCustomRolloff @ 0xaf934\n// > FMOD::Sound::get3DCustomRolloff @ 0xb51b8\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\nint __fastcall sub_AF968(int a1, int a2, const void *a3, _DWORD *a4)\n{\n  int v7; // r4\n  int v8; // r4\n\n  v7 = sub_5CBD8(a1, a2, a3);\n  v8 = v7 + sub_5C990((_BYTE *)(v7 + a1), a2 - v7, \", \");\n  return sub_5C9EC(a1 + v8, a2 - v8, a4) + v8;\n}", "assembly": "; \n; sub_AF968 from 0xaf968 to 0xaf99c (52 bytes)\n; \n; 2 xrefs:\n; > FMOD::ChannelControl::get3DCustomRolloff @ 0xaf934\n; > FMOD::Sound::get3DCustomRolloff @ 0xb51b8\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\nPUSH            {R4-R7,LR}                                             ; +0x0, 0xaf968\nADD             R7, SP, #0xC                                           ; +0x2, 0xaf96a\nPUSH.W          {R8}                                                   ; +0x4, 0xaf96c\nMOV             R8, R3                                                 ; +0x8, 0xaf970\nMOV             R5, R1                                                 ; +0xa, 0xaf972\nMOV             R6, R0                                                 ; +0xc, 0xaf974\nBL              sub_5CBD8                                              ; +0xe, 0xaf976\nLDR             R2, =(asc_21715 - 0xAF986); \", \" ...                   ; +0x12, 0xaf97a\nMOV             R4, R0                                                 ; +0x14, 0xaf97c\nADD             R0, R6                                                 ; +0x16, 0xaf97e\nSUBS            R1, R5, R4                                             ; +0x18, 0xaf980\nADD             R2, PC; \", \"                                           ; +0x1a, 0xaf982\nBL              sub_5C990                                              ; +0x1c, 0xaf984\nADD             R4, R0                                                 ; +0x20, 0xaf988\nMOV             R2, R8                                                 ; +0x22, 0xaf98a\nADDS            R0, R6, R4                                             ; +0x24, 0xaf98c\nSUBS            R1, R5, R4                                             ; +0x26, 0xaf98e\nBL              sub_5C9EC                                              ; +0x28, 0xaf990\nADD             R0, R4                                                 ; +0x2c, 0xaf994\nPOP.W           {R8}                                                   ; +0x2e, 0xaf996\nPOP             {R4-R7,PC}                                             ; +0x32, 0xaf99a", "xrefs": ["FMOD::ChannelControl::get3DCustomRolloff @ 0xaf934", "FMOD::Sound::get3DCustomRolloff @ 0xb51b8"], "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"}