{"type": "func", "start": 297178, "end": 297256, "name": "sub_488DA", "pseudocode": "// \n// sub_488DA from 0x488da to 0x48928 (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_488DA(_DWORD *a1, _DWORD *a2, _DWORD *a3)\n{\n  int result; // r0\n  _BYTE v7[4]; // [sp+4h] [bp-14h] BYREF\n\n  result = (*(int (__fastcall **)(_DWORD *, _BYTE *))(*a1 + 76))(a1, v7);\n  if ( !result )\n  {\n    if ( (v7[0] & 0x10) != 0 )\n    {\n      if ( a2 )\n      {\n        *a2 = a1[19];\n        a2[1] = a1[20];\n        a2[2] = a1[21];\n      }\n      if ( a3 )\n      {\n        *a3 = a1[22];\n        a3[1] = a1[23];\n        a3[2] = a1[24];\n      }\n      return 0;\n    }\n    else\n    {\n      return 40;\n    }\n  }\n  return result;\n}", "assembly": "; \n; sub_488DA from 0x488da to 0x48928 (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, 0x488da\nADD             R7, SP, #0xC                                           ; +0x2, 0x488dc\nPUSH.W          {R11}                                                  ; +0x4, 0x488de\nSUB             SP, SP, #8                                             ; +0x8, 0x488e2\nMOV             R5, R0                                                 ; +0xa, 0x488e4\nLDR             R0, [R0]                                               ; +0xc, 0x488e6\nMOV             R4, R2                                                 ; +0xe, 0x488e8\nMOV             R6, R1                                                 ; +0x10, 0x488ea\nADD             R1, SP, #8+var_4                                       ; +0x12, 0x488ec\nLDR             R2, [R0,#0x4C]                                         ; +0x14, 0x488ee\nMOV             R0, R5                                                 ; +0x16, 0x488f0\nBLX             R2                                                     ; +0x18, 0x488f2\nCBNZ            R0, loc_48920                                          ; +0x1a, 0x488f4\nLDRB.W          R0, [SP,#8+var_4]                                      ; +0x1c, 0x488f6\nLSLS            R0, R0, #0x1B                                          ; +0x20, 0x488fa\nBMI             loc_48902                                              ; +0x22, 0x488fc\nMOVS            R0, #0x28 ; '('                                        ; +0x24, 0x488fe\nB               loc_48920                                              ; +0x26, 0x48900\nCBZ             R6, loc_48910                                          ; +0x28, 0x48902\nLDR             R0, [R5,#0x4C]                                         ; +0x2a, 0x48904\nSTR             R0, [R6]                                               ; +0x2c, 0x48906\nLDR             R0, [R5,#0x50]                                         ; +0x2e, 0x48908\nSTR             R0, [R6,#4]                                            ; +0x30, 0x4890a\nLDR             R0, [R5,#0x54]                                         ; +0x32, 0x4890c\nSTR             R0, [R6,#8]                                            ; +0x34, 0x4890e\nCBZ             R4, loc_4891E                                          ; +0x36, 0x48910\nLDR             R0, [R5,#0x58]                                         ; +0x38, 0x48912\nSTR             R0, [R4]                                               ; +0x3a, 0x48914\nLDR             R0, [R5,#0x5C]                                         ; +0x3c, 0x48916\nSTR             R0, [R4,#4]                                            ; +0x3e, 0x48918\nLDR             R0, [R5,#0x60]                                         ; +0x40, 0x4891a\nSTR             R0, [R4,#8]                                            ; +0x42, 0x4891c\nMOVS            R0, #0                                                 ; +0x44, 0x4891e\nADD             SP, SP, #8                                             ; +0x46, 0x48920\nPOP.W           {R11}                                                  ; +0x48, 0x48922\nPOP             {R4-R7,PC}                                             ; +0x4c, 0x48926", "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"}