{"type": "func", "start": 719020, "end": 719072, "name": "sub_AF8AC", "pseudocode": "// \n// sub_AF8AC from 0xaf8ac to 0xaf8e0 (52 bytes)\n// \n// 2 xrefs:\n// > FMOD::ChannelControl::set3DCustomRolloff @ 0xaf878\n// > FMOD::Sound::set3DCustomRolloff @ 0xb5116\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:41:40 +0000\n// \n\nint __fastcall sub_AF8AC(int a1, int a2, float *a3, unsigned int a4)\n{\n  int v7; // r4\n  int v8; // r4\n\n  v7 = sub_5CB18(a1, a2, a3);\n  v8 = v7 + sub_5C990((_BYTE *)(v7 + a1), a2 - v7, \", \");\n  return sub_5C8CC((_BYTE *)(a1 + v8), a2 - v8, a4) + v8;\n}", "assembly": "; \n; sub_AF8AC from 0xaf8ac to 0xaf8e0 (52 bytes)\n; \n; 2 xrefs:\n; > FMOD::ChannelControl::set3DCustomRolloff @ 0xaf878\n; > FMOD::Sound::set3DCustomRolloff @ 0xb5116\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:41:40 +0000\n; \nPUSH            {R4-R7,LR}                                             ; +0x0, 0xaf8ac\nADD             R7, SP, #0xC                                           ; +0x2, 0xaf8ae\nPUSH.W          {R8}                                                   ; +0x4, 0xaf8b0\nMOV             R8, R3                                                 ; +0x8, 0xaf8b4\nMOV             R5, R1                                                 ; +0xa, 0xaf8b6\nMOV             R6, R0                                                 ; +0xc, 0xaf8b8\nBL              sub_5CB18                                              ; +0xe, 0xaf8ba\nLDR             R2, =(asc_21715 - 0xAF8CA); \", \" ...                   ; +0x12, 0xaf8be\nMOV             R4, R0                                                 ; +0x14, 0xaf8c0\nADD             R0, R6                                                 ; +0x16, 0xaf8c2\nSUBS            R1, R5, R4                                             ; +0x18, 0xaf8c4\nADD             R2, PC; \", \"                                           ; +0x1a, 0xaf8c6\nBL              sub_5C990                                              ; +0x1c, 0xaf8c8\nADD             R4, R0                                                 ; +0x20, 0xaf8cc\nMOV             R2, R8                                                 ; +0x22, 0xaf8ce\nADDS            R0, R6, R4                                             ; +0x24, 0xaf8d0\nSUBS            R1, R5, R4                                             ; +0x26, 0xaf8d2\nBL              sub_5C8CC                                              ; +0x28, 0xaf8d4\nADD             R0, R4                                                 ; +0x2c, 0xaf8d8\nPOP.W           {R8}                                                   ; +0x2e, 0xaf8da\nPOP             {R4-R7,PC}                                             ; +0x32, 0xaf8de", "xrefs": ["FMOD::ChannelControl::set3DCustomRolloff @ 0xaf878", "FMOD::Sound::set3DCustomRolloff @ 0xb5116"], "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"}