{"type": "func", "start": 297708, "end": 297784, "name": "sub_48AEC", "pseudocode": "// \n// sub_48AEC from 0x48aec to 0x48b38 (76 bytes)\n// \n// 0 xrefs:\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:40:39 +0000\n// \n\nint __fastcall sub_48AEC(_DWORD *a1, _DWORD *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[29];\n      if ( a3 )\n        *a3 = a1[30];\n      if ( a4 )\n        *a4 = a1[31];\n      return 0;\n    }\n    else\n    {\n      return 40;\n    }\n  }\n  return result;\n}", "assembly": "; \n; sub_48AEC from 0x48aec to 0x48b38 (76 bytes)\n; \n; 0 xrefs:\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:40:39 +0000\n; \nPUSH            {R4-R7,LR}                                             ; +0x0, 0x48aec\nADD             R7, SP, #0xC                                           ; +0x2, 0x48aee\nPUSH.W          {R8}                                                   ; +0x4, 0x48af0\nSUB             SP, SP, #8                                             ; +0x8, 0x48af4\nMOV             R5, R0                                                 ; +0xa, 0x48af6\nLDR             R0, [R0]                                               ; +0xc, 0x48af8\nMOV             R6, R2                                                 ; +0xe, 0x48afa\nMOV             R4, R1                                                 ; +0x10, 0x48afc\nADD             R1, SP, #8+var_4                                       ; +0x12, 0x48afe\nMOV             R8, R3                                                 ; +0x14, 0x48b00\nLDR             R2, [R0,#0x4C]                                         ; +0x16, 0x48b02\nMOV             R0, R5                                                 ; +0x18, 0x48b04\nBLX             R2                                                     ; +0x1a, 0x48b06\nCBNZ            R0, loc_48B30                                          ; +0x1c, 0x48b08\nLDRB.W          R0, [SP,#8+var_4]                                      ; +0x1e, 0x48b0a\nLSLS            R0, R0, #0x1B                                          ; +0x22, 0x48b0e\nBMI             loc_48B16                                              ; +0x24, 0x48b10\nMOVS            R0, #0x28 ; '('                                        ; +0x26, 0x48b12\nB               loc_48B30                                              ; +0x28, 0x48b14\nCBZ             R4, loc_48B1C                                          ; +0x2a, 0x48b16\nLDR             R0, [R5,#0x74]                                         ; +0x2c, 0x48b18\nSTR             R0, [R4]                                               ; +0x2e, 0x48b1a\nCBZ             R6, loc_48B22                                          ; +0x30, 0x48b1c\nLDR             R0, [R5,#0x78]                                         ; +0x32, 0x48b1e\nSTR             R0, [R6]                                               ; +0x34, 0x48b20\nCMP.W           R8, #0                                                 ; +0x36, 0x48b22\nITT NE                                                                 ; +0x3a, 0x48b26\nLDRNE           R0, [R5,#0x7C]                                         ; +0x3c, 0x48b28\nSTRNE.W         R0, [R8]                                               ; +0x3e, 0x48b2a\nMOVS            R0, #0                                                 ; +0x42, 0x48b2e\nADD             SP, SP, #8                                             ; +0x44, 0x48b30\nPOP.W           {R8}                                                   ; +0x46, 0x48b32\nPOP             {R4-R7,PC}                                             ; +0x4a, 0x48b36", "xrefs": [], "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"}