{"type": "func", "start": 379740, "end": 379854, "name": "sub_5CB5C", "pseudocode": "// \n// sub_5CB5C from 0x5cb5c to 0x5cbce (114 bytes)\n// \n// 2 xrefs:\n// > sub_B7164 @ 0xb71be\n// > sub_BA164 @ 0xba1be\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_5CB5C(int a1, int a2, _DWORD *a3)\n{\n  if ( a3 )\n    return sub_BE420(\n             a1,\n             a2,\n             \"%p:{%08x-%04x-%04x-%02x%02x-%02x%02x%02x%02x%02x%02x}\",\n             a3,\n             *a3,\n             *((unsigned __int16 *)a3 + 2),\n             *((unsigned __int16 *)a3 + 3),\n             *((unsigned __int8 *)a3 + 8),\n             *((unsigned __int8 *)a3 + 9),\n             *((unsigned __int8 *)a3 + 10),\n             *((unsigned __int8 *)a3 + 11),\n             *((unsigned __int8 *)a3 + 12),\n             *((unsigned __int8 *)a3 + 13),\n             *((unsigned __int8 *)a3 + 14),\n             *((unsigned __int8 *)a3 + 15));\n  else\n    return sub_BE420(a1, a2, \"%p\", nullptr);\n}", "assembly": "; \n; sub_5CB5C from 0x5cb5c to 0x5cbce (114 bytes)\n; \n; 2 xrefs:\n; > sub_B7164 @ 0xb71be\n; > sub_BA164 @ 0xba1be\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, 0x5cb5c\nADD             R7, SP, #0xC                                           ; +0x2, 0x5cb5e\nPUSH.W          {R8-R11}                                               ; +0x4, 0x5cb60\nSUB             SP, SP, #0x34                                          ; +0x8, 0x5cb64\nMOV             R5, R1                                                 ; +0xa, 0x5cb66\nCBZ             R2, loc_5CBB8                                          ; +0xc, 0x5cb68\nMOV             R3, R2                                                 ; +0xe, 0x5cb6a\nLDRH.W          R11, [R2,#4]                                           ; +0x10, 0x5cb6c\nLDRB            R4, [R3,#0xE]                                          ; +0x14, 0x5cb70\nLDRH            R1, [R2,#6]                                            ; +0x16, 0x5cb72\nSTR             R1, [SP,#0x34+var_4]                                   ; +0x18, 0x5cb74\nLDR.W           R10, [R2]                                              ; +0x1a, 0x5cb76\nLDRB            R6, [R2,#8]                                            ; +0x1e, 0x5cb7a\nLDRB.W          R12, [R2,#9]                                           ; +0x20, 0x5cb7c\nLDRB.W          LR, [R2,#0xA]                                          ; +0x24, 0x5cb80\nLDRB.W          R8, [R2,#0xB]                                          ; +0x28, 0x5cb84\nLDRB.W          R9, [R2,#0xC]                                          ; +0x2c, 0x5cb88\nLDRB            R2, [R2,#0xD]                                          ; +0x30, 0x5cb8c\nLDRB            R1, [R3,#0xF]                                          ; +0x32, 0x5cb8e\nSTRD.W          R2, R4, [SP,#0x34+var_14]                              ; +0x34, 0x5cb90\nADD             R2, SP, #0x34+var_2C                                   ; +0x38, 0x5cb94\nSTR             R1, [SP,#0x34+var_C]                                   ; +0x3a, 0x5cb96\nSTRD.W          R10, R11, [SP,#0x34+var_34]                            ; +0x3c, 0x5cb98\nLDR             R1, [SP,#0x34+var_4]                                   ; +0x40, 0x5cb9c\nSTM.W           R2, {R1,R6,R12,LR}                                     ; +0x42, 0x5cb9e\nMOV             R1, R5                                                 ; +0x46, 0x5cba2\nSTRD.W          R8, R9, [SP,#0x34+var_1C]                              ; +0x48, 0x5cba4\nLDR             R2, =(aP08x04x04x02x0 - 0x5CBAE); \"%p:{%08x-%04x-%04x-%02x%02x-%02x%02x%02\"... ... ; +0x4c, 0x5cba8\nADD             R2, PC; \"%p:{%08x-%04x-%04x-%02x%02x-%02x%02x%02\"...   ; +0x4e, 0x5cbaa\nBL              sub_BE420                                              ; +0x50, 0x5cbac\nADD             SP, SP, #0x34 ; '4'                                    ; +0x54, 0x5cbb0\nPOP.W           {R8-R11}                                               ; +0x56, 0x5cbb2\nPOP             {R4-R7,PC}                                             ; +0x5a, 0x5cbb6\nLDR             R2, =(aP - 0x5CBC2); \"%p\" ...                          ; +0x5c, 0x5cbb8\nMOV             R1, R5                                                 ; +0x5e, 0x5cbba\nMOVS            R3, #0                                                 ; +0x60, 0x5cbbc\nADD             R2, PC; \"%p\"                                           ; +0x62, 0x5cbbe\nADD             SP, SP, #0x34 ; '4'                                    ; +0x64, 0x5cbc0\nPOP.W           {R8-R11}                                               ; +0x66, 0x5cbc2\nPOP.W           {R4-R7,LR}                                             ; +0x6a, 0x5cbc6\nB.W             sub_BE420                                              ; +0x6e, 0x5cbca", "xrefs": ["sub_B7164 @ 0xb71be", "sub_BA164 @ 0xba1be"], "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"}