{"type": "func", "start": 352088, "end": 352138, "name": "sub_55F58", "pseudocode": "// \n// sub_55F58 from 0x55f58 to 0x55f8a (50 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_55F58(int a1, _DWORD *a2, int *a3, _DWORD *a4, int a5)\n{\n  int v5; // r1\n\n  if ( a2 )\n    *a2 = *(_DWORD *)(a1 + 20);\n  if ( a3 )\n  {\n    if ( (*(_BYTE *)(a1 + 29) & 2) != 0 && !*(_DWORD *)(a1 + 128) )\n      v5 = 6;\n    else\n      v5 = *(_DWORD *)(a1 + 24);\n    *a3 = v5;\n  }\n  if ( a4 )\n    *a4 = *(_DWORD *)(a1 + 76);\n  if ( a5 )\n    sub_55F8A();\n  return 0;\n}", "assembly": "; \n; sub_55F58 from 0x55f58 to 0x55f8a (50 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,R6,R7,LR}                                          ; +0x0, 0x55f58\nADD             R7, SP, #8                                             ; +0x2, 0x55f5a\nCBZ             R1, loc_55F62                                          ; +0x4, 0x55f5c\nLDR             R4, [R0,#0x14]                                         ; +0x6, 0x55f5e\nSTR             R4, [R1]                                               ; +0x8, 0x55f60\nCBZ             R2, loc_55F78                                          ; +0xa, 0x55f62\nLDRB            R1, [R0,#0x1D]                                         ; +0xc, 0x55f64\nLSLS            R1, R1, #0x1E                                          ; +0xe, 0x55f66\nBPL             loc_55F70                                              ; +0x10, 0x55f68\nLDR.W           R1, [R0,#0x80]                                         ; +0x12, 0x55f6a\nCBZ             R1, loc_55F74                                          ; +0x16, 0x55f6e\nLDR             R1, [R0,#0x18]                                         ; +0x18, 0x55f70\nB               loc_55F76                                              ; +0x1a, 0x55f72\nMOVS            R1, #6                                                 ; +0x1c, 0x55f74\nSTR             R1, [R2]                                               ; +0x1e, 0x55f76\nLDR             R1, [R7,#-8+arg_0]                                     ; +0x20, 0x55f78\nCBZ             R3, loc_55F80                                          ; +0x22, 0x55f7a\nLDR             R2, [R0,#0x4C]                                         ; +0x24, 0x55f7c\nSTR             R2, [R3]                                               ; +0x26, 0x55f7e\nCBZ             R1, loc_55F86                                          ; +0x28, 0x55f80\nBL              sub_55F8A                                              ; +0x2a, 0x55f82\nMOVS            R0, #0                                                 ; +0x2e, 0x55f86\nPOP             {R4,R6,R7,PC}                                          ; +0x30, 0x55f88", "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"}