{"type": "func", "start": 752464, "end": 752522, "name": "sub_B7B50", "pseudocode": "// \n// sub_B7B50 from 0xb7b50 to 0xb7b8a (58 bytes)\n// \n// 1 xrefs:\n// > FMOD::System::setCallback @ 0xb7b1c\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_B7B50(int a1, int a2, int a3, unsigned int a4)\n{\n  int v7; // r4\n  int v8; // r4\n\n  v7 = sub_5C96C(a1, a2, a3 != 0);\n  v8 = v7 + sub_5C990((_BYTE *)(v7 + a1), a2 - v7, \", \");\n  return sub_5C8F4((_BYTE *)(a1 + v8), a2 - v8, a4) + v8;\n}", "assembly": "; \n; sub_B7B50 from 0xb7b50 to 0xb7b8a (58 bytes)\n; \n; 1 xrefs:\n; > FMOD::System::setCallback @ 0xb7b1c\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, 0xb7b50\nADD             R7, SP, #0xC                                           ; +0x2, 0xb7b52\nPUSH.W          {R8}                                                   ; +0x4, 0xb7b54\nCMP             R2, #0                                                 ; +0x8, 0xb7b58\nIT NE                                                                  ; +0xa, 0xb7b5a\nMOVNE           R2, #1                                                 ; +0xc, 0xb7b5c\nMOV             R8, R3                                                 ; +0xe, 0xb7b5e\nMOV             R5, R1                                                 ; +0x10, 0xb7b60\nMOV             R6, R0                                                 ; +0x12, 0xb7b62\nBL              sub_5C96C                                              ; +0x14, 0xb7b64\nLDR             R2, =(asc_21715 - 0xB7B74); \", \" ...                   ; +0x18, 0xb7b68\nMOV             R4, R0                                                 ; +0x1a, 0xb7b6a\nADD             R0, R6                                                 ; +0x1c, 0xb7b6c\nSUBS            R1, R5, R4                                             ; +0x1e, 0xb7b6e\nADD             R2, PC; \", \"                                           ; +0x20, 0xb7b70\nBL              sub_5C990                                              ; +0x22, 0xb7b72\nADD             R4, R0                                                 ; +0x26, 0xb7b76\nMOV             R2, R8                                                 ; +0x28, 0xb7b78\nADDS            R0, R6, R4                                             ; +0x2a, 0xb7b7a\nSUBS            R1, R5, R4                                             ; +0x2c, 0xb7b7c\nBL              sub_5C8F4                                              ; +0x2e, 0xb7b7e\nADD             R0, R4                                                 ; +0x32, 0xb7b82\nPOP.W           {R8}                                                   ; +0x34, 0xb7b84\nPOP             {R4-R7,PC}                                             ; +0x38, 0xb7b88", "xrefs": ["FMOD::System::setCallback @ 0xb7b1c"], "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"}