{"type": "func", "start": 294962, "end": 295040, "name": "sub_48032", "pseudocode": "// \n// sub_48032 from 0x48032 to 0x48080 (78 bytes)\n// \n// 0 xrefs:\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_48032(int a1, int a2, int a3, int a4, int a5, int a6)\n{\n  int result; // r0\n  int v9; // [sp+Ch] [bp-14h] BYREF\n\n  result = (*(int (__fastcall **)(int, int, int *))(*(_DWORD *)a1 + 144))(a1, -2, &v9);\n  if ( !result )\n  {\n    if ( !v9 )\n      return (*(int (__fastcall **)(int))(*(_DWORD *)a1 + 260))(a1);\n    result = sub_91E20(v9, a6, a3);\n    if ( !result )\n      return (*(int (__fastcall **)(int))(*(_DWORD *)a1 + 260))(a1);\n  }\n  return result;\n}", "assembly": "; \n; sub_48032 from 0x48032 to 0x48080 (78 bytes)\n; \n; 0 xrefs:\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, 0x48032\nADD             R7, SP, #0xC                                           ; +0x2, 0x48034\nPUSH.W          {R11}                                                  ; +0x4, 0x48036\nSUB             SP, SP, #0x10                                          ; +0x8, 0x4803a\nMOV             R4, R0                                                 ; +0xa, 0x4803c\nLDR             R0, [R0]                                               ; +0xc, 0x4803e\nMOV             R5, R3                                                 ; +0xe, 0x48040\nMOV             R6, R2                                                 ; +0x10, 0x48042\nADD             R2, SP, #0x10+var_4                                    ; +0x12, 0x48044\nMOV             R1, #0xFFFFFFFE                                        ; +0x14, 0x48046\nLDR.W           R3, [R0,#0x90]                                         ; +0x18, 0x4804a\nMOV             R0, R4                                                 ; +0x1c, 0x4804e\nBLX             R3                                                     ; +0x1e, 0x48050\nCBNZ            R0, loc_48078                                          ; +0x20, 0x48052\nLDR             R0, [SP,#0x10+var_4]                                   ; +0x22, 0x48054\nCBZ             R0, loc_4806E                                          ; +0x24, 0x48056\nLDRD.W          R2, R1, [R7,#-0x10+arg_0]                              ; +0x26, 0x48058\nMOVS            R3, #1                                                 ; +0x2a, 0x4805c\nSTRD.W          R2, R1, [SP,#0x10+var_10]                              ; +0x2c, 0x4805e\nMOV             R2, R6                                                 ; +0x30, 0x48062\nSTR             R3, [SP,#0x10+var_8]                                   ; +0x32, 0x48064\nMOV             R3, R5                                                 ; +0x34, 0x48066\nBL              sub_91E20                                              ; +0x36, 0x48068\nCBNZ            R0, loc_48078                                          ; +0x3a, 0x4806c\nLDR             R0, [R4]                                               ; +0x3c, 0x4806e\nLDR.W           R1, [R0,#0x104]                                        ; +0x3e, 0x48070\nMOV             R0, R4                                                 ; +0x42, 0x48074\nBLX             R1                                                     ; +0x44, 0x48076\nADD             SP, SP, #0x10                                          ; +0x46, 0x48078\nPOP.W           {R11}                                                  ; +0x48, 0x4807a\nPOP             {R4-R7,PC}                                             ; +0x4c, 0x4807e", "xrefs": [], "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"}