{"type": "func", "start": 298672, "end": 298756, "name": "sub_48EB0", "pseudocode": "// \n// sub_48EB0 from 0x48eb0 to 0x48f04 (84 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_48EB0(_DWORD *a1, bool *a2, _DWORD *a3, _DWORD *a4)\n{\n  int result; // r0\n  _BYTE v9[4]; // [sp+4h] [bp-14h] BYREF\n\n  result = (*(int (__fastcall **)(_DWORD *, _BYTE *))(*a1 + 76))(a1, v9);\n  if ( !result )\n  {\n    if ( (v9[0] & 0x10) != 0 )\n    {\n      if ( a2 )\n        *a2 = (a1[10] & 0x100000) != 0;\n      if ( a3 )\n        *a3 = a1[48];\n      if ( a4 )\n        *a4 = a1[49];\n      return 0;\n    }\n    else\n    {\n      return 40;\n    }\n  }\n  return result;\n}", "assembly": "; \n; sub_48EB0 from 0x48eb0 to 0x48f04 (84 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, 0x48eb0\nADD             R7, SP, #0xC                                           ; +0x2, 0x48eb2\nPUSH.W          {R8}                                                   ; +0x4, 0x48eb4\nSUB             SP, SP, #8                                             ; +0x8, 0x48eb8\nMOV             R5, R0                                                 ; +0xa, 0x48eba\nLDR             R0, [R0]                                               ; +0xc, 0x48ebc\nMOV             R6, R2                                                 ; +0xe, 0x48ebe\nMOV             R4, R1                                                 ; +0x10, 0x48ec0\nADD             R1, SP, #8+var_4                                       ; +0x12, 0x48ec2\nMOV             R8, R3                                                 ; +0x14, 0x48ec4\nLDR             R2, [R0,#0x4C]                                         ; +0x16, 0x48ec6\nMOV             R0, R5                                                 ; +0x18, 0x48ec8\nBLX             R2                                                     ; +0x1a, 0x48eca\nCBNZ            R0, loc_48EFC                                          ; +0x1c, 0x48ecc\nLDRB.W          R0, [SP,#8+var_4]                                      ; +0x1e, 0x48ece\nLSLS            R0, R0, #0x1B                                          ; +0x22, 0x48ed2\nBMI             loc_48EDA                                              ; +0x24, 0x48ed4\nMOVS            R0, #0x28 ; '('                                        ; +0x26, 0x48ed6\nB               loc_48EFC                                              ; +0x28, 0x48ed8\nCBZ             R4, loc_48EE4                                          ; +0x2a, 0x48eda\nLDR             R0, [R5,#0x28]                                         ; +0x2c, 0x48edc\nUBFX.W          R0, R0, #0x14, #1                                      ; +0x2e, 0x48ede\nSTRB            R0, [R4]                                               ; +0x32, 0x48ee2\nCBZ             R6, loc_48EEC                                          ; +0x34, 0x48ee4\nLDR.W           R0, [R5,#0xC0]                                         ; +0x36, 0x48ee6\nSTR             R0, [R6]                                               ; +0x3a, 0x48eea\nCMP.W           R8, #0                                                 ; +0x3c, 0x48eec\nITT NE                                                                 ; +0x40, 0x48ef0\nLDRNE.W         R0, [R5,#0xC4]                                         ; +0x42, 0x48ef2\nSTRNE.W         R0, [R8]                                               ; +0x46, 0x48ef6\nMOVS            R0, #0                                                 ; +0x4a, 0x48efa\nADD             SP, SP, #8                                             ; +0x4c, 0x48efc\nPOP.W           {R8}                                                   ; +0x4e, 0x48efe\nPOP             {R4-R7,PC}                                             ; +0x52, 0x48f02", "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"}