{"type": "func", "start": 378404, "end": 378480, "name": "sub_5C624", "pseudocode": "// \n// sub_5C624 from 0x5c624 to 0x5c670 (76 bytes)\n// \n// 1 xrefs:\n// > sub_58CA8 @ 0x58e48\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_5C624(int a1, int a2, __int64 a3, int a4, int a5, char a6)\n{\n  __int64 v7; // r0\n\n  LODWORD(v7) = 31;\n  if ( (int)(HIDWORD(a3) | a3) >= 0 && a5 >= 1 )\n  {\n    *(_DWORD *)a1 = a2;\n    HIDWORD(v7) = a1 + 48;\n    *(_BYTE *)(a1 + 32) = a6;\n    LODWORD(v7) = 0;\n    *(_DWORD *)(a1 + 8) = 0;\n    *(_DWORD *)(a1 + 12) = 0;\n    *(_DWORD *)(a1 + 16) = a4;\n    *(_DWORD *)(a1 + 20) = a5;\n    *(_QWORD *)(a1 + 24) = a3;\n    *(_DWORD *)(a1 + 36) = a1 + 36;\n    *(_DWORD *)(a1 + 40) = a1 + 36;\n    *(_QWORD *)(a1 + 44) = v7;\n    *(_DWORD *)(a1 + 52) = a1 + 48;\n    *(_DWORD *)(a1 + 56) = 0;\n  }\n  return v7;\n}", "assembly": "; \n; sub_5C624 from 0x5c624 to 0x5c670 (76 bytes)\n; \n; 1 xrefs:\n; > sub_58CA8 @ 0x58e48\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, 0x5c624\nADD             R7, SP, #0xC                                           ; +0x2, 0x5c626\nPUSH.W          {R11}                                                  ; +0x4, 0x5c628\nMOV             R4, R0                                                 ; +0x8, 0x5c62c\nORRS.W          R0, R3, R2                                             ; +0xa, 0x5c62e\nMOV.W           R0, #0x1F                                              ; +0xe, 0x5c632\nBMI             loc_5C66A                                              ; +0x12, 0x5c636\nLDR             R5, [R7,#-0x10+arg_4]                                  ; +0x14, 0x5c638\nCMP             R5, #1                                                 ; +0x16, 0x5c63a\nBLT             loc_5C66A                                              ; +0x18, 0x5c63c\nLDR             R0, [R7,#-0x10+arg_8]                                  ; +0x1a, 0x5c63e\nSTR             R1, [R4]                                               ; +0x1c, 0x5c640\nADD.W           R1, R4, #0x30 ; '0'                                    ; +0x1e, 0x5c642\nSTRB.W          R0, [R4,#0x20]                                         ; +0x22, 0x5c646\nMOVS            R0, #0                                                 ; +0x26, 0x5c64a\nLDR             R6, [R7,#-0x10+arg_0]                                  ; +0x28, 0x5c64c\nSTRD.W          R0, R0, [R4,#8]                                        ; +0x2a, 0x5c64e\nSTRD.W          R6, R5, [R4,#0x10]                                     ; +0x2e, 0x5c652\nSTRD.W          R2, R3, [R4,#0x18]                                     ; +0x32, 0x5c656\nADD.W           R2, R4, #0x24 ; '$'                                    ; +0x36, 0x5c65a\nSTRD.W          R2, R2, [R4,#0x24]                                     ; +0x3a, 0x5c65e\nSTRD.W          R0, R1, [R4,#0x2C]                                     ; +0x3e, 0x5c662\nSTRD.W          R1, R0, [R4,#0x34]                                     ; +0x42, 0x5c666\nPOP.W           {R11}                                                  ; +0x46, 0x5c66a\nPOP             {R4-R7,PC}                                             ; +0x4a, 0x5c66e", "xrefs": ["sub_58CA8 @ 0x58e48"], "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"}