{"type": "func", "start": 360856, "end": 360890, "name": "sub_58198", "pseudocode": "// \n// sub_58198 from 0x58198 to 0x581ba (34 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_58198(int a1, _DWORD *a2)\n{\n  int result; // r0\n\n  result = (*(int (__fastcall **)(_DWORD, _DWORD *))(**(_DWORD **)(a1 + 220) + 12))(*(_DWORD *)(a1 + 220), a2);\n  if ( a2 )\n    *a2 -= *(_DWORD *)(a1 + 152);\n  return result;\n}", "assembly": "; \n; sub_58198 from 0x58198 to 0x581ba (34 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,R5,R7,LR}                                          ; +0x0, 0x58198\nADD             R7, SP, #8                                             ; +0x2, 0x5819a\nMOV             R5, R0                                                 ; +0x4, 0x5819c\nLDR.W           R0, [R0,#0xDC]                                         ; +0x6, 0x5819e\nMOV             R4, R1                                                 ; +0xa, 0x581a2\nLDR             R1, [R0]                                               ; +0xc, 0x581a4\nLDR             R2, [R1,#0xC]                                          ; +0xe, 0x581a6\nMOV             R1, R4                                                 ; +0x10, 0x581a8\nBLX             R2                                                     ; +0x12, 0x581aa\nCBZ             R4, locret_581B8                                       ; +0x14, 0x581ac\nLDR.W           R1, [R5,#0x98]                                         ; +0x16, 0x581ae\nLDR             R2, [R4]                                               ; +0x1a, 0x581b2\nSUBS            R1, R2, R1                                             ; +0x1c, 0x581b4\nSTR             R1, [R4]                                               ; +0x1e, 0x581b6\nPOP             {R4,R5,R7,PC}                                          ; +0x20, 0x581b8", "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"}