{"type": "func", "start": 377728, "end": 377784, "name": "sub_5C380", "pseudocode": "// \n// sub_5C380 from 0x5c380 to 0x5c3b8 (56 bytes)\n// \n// 1 xrefs:\n// > sub_5C470 @ 0x5c47a\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_5C380(int a1, int a2, _DWORD *a3, _DWORD *a4, int a5)\n{\n  const char *v5; // r3\n\n  if ( a2 == 3 )\n  {\n    *a3 = a1 + 408;\n    *a4 = 4;\n    if ( a5 )\n    {\n      v5 = \"true\";\n      if ( !*(_DWORD *)(a1 + 408) )\n        v5 = \"false\";\n      sub_BE420(a5, 32, \"%s\", v5);\n    }\n  }\n  return 0;\n}", "assembly": "; \n; sub_5C380 from 0x5c380 to 0x5c3b8 (56 bytes)\n; \n; 1 xrefs:\n; > sub_5C470 @ 0x5c47a\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, 0x5c380\nADD             R7, SP, #8                                             ; +0x2, 0x5c382\nCMP             R1, #3                                                 ; +0x4, 0x5c384\nBNE             loc_5C3B4                                              ; +0x6, 0x5c386\nMOV             R4, R0                                                 ; +0x8, 0x5c388\nLDR             R0, [R7,#-8+arg_0]                                     ; +0xa, 0x5c38a\nADD.W           R1, R4, #0x198                                         ; +0xc, 0x5c38c\nSTR             R1, [R2]                                               ; +0x10, 0x5c390\nMOVS            R2, #4                                                 ; +0x12, 0x5c392\nSTR             R2, [R3]                                               ; +0x14, 0x5c394\nCBZ             R0, loc_5C3B4                                          ; +0x16, 0x5c396\nLDR             R1, [R1]                                               ; +0x18, 0x5c398\nLDR             R2, =(aFalse - 0x5C3A4); \"false\" ...                   ; +0x1a, 0x5c39a\nLDR             R3, =(aTrue - 0x5C3AA); \"true\" ...                     ; +0x1c, 0x5c39c\nCMP             R1, #0                                                 ; +0x1e, 0x5c39e\nADD             R2, PC; \"false\"                                        ; +0x20, 0x5c3a0\nMOV.W           R1, #0x20 ; ' '                                        ; +0x22, 0x5c3a2\nADD             R3, PC; \"true\"                                         ; +0x26, 0x5c3a6\nIT EQ                                                                  ; +0x28, 0x5c3a8\nMOVEQ           R3, R2                                                 ; +0x2a, 0x5c3aa\nLDR             R2, =(aS - 0x5C3B2); \"%s\" ...                          ; +0x2c, 0x5c3ac\nADD             R2, PC; \"%s\"                                           ; +0x2e, 0x5c3ae\nBL              sub_BE420                                              ; +0x30, 0x5c3b0\nMOVS            R0, #0                                                 ; +0x34, 0x5c3b4\nPOP             {R4,R6,R7,PC}                                          ; +0x36, 0x5c3b6", "xrefs": ["sub_5C470 @ 0x5c47a"], "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"}