{"type": "func", "start": 344978, "end": 345050, "name": "sub_54392", "pseudocode": "// \n// sub_54392 from 0x54392 to 0x543da (72 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_54392(int a1, int a2, int a3, size_t a4)\n{\n  int v8; // r5\n\n  if ( *(_DWORD *)(a1 + 232) )\n    sub_5433C(a1, a2, a3, a4);\n  v8 = sub_5445E(a1, a2, a3, a4);\n  if ( !v8 && *(_DWORD *)(a1 + 232) )\n    sub_54080(a1);\n  return v8;\n}", "assembly": "; \n; sub_54392 from 0x54392 to 0x543da (72 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-R7,LR}                                             ; +0x0, 0x54392\nADD             R7, SP, #0xC                                           ; +0x2, 0x54394\nPUSH.W          {R6-R9,R11}                                            ; +0x4, 0x54396\nMOV             R4, R0                                                 ; +0x8, 0x5439a\nLDR.W           R0, [R0,#0xE8]                                         ; +0xa, 0x5439c\nLDR.W           R9, [R7,#-0x18+arg_0]                                  ; +0xe, 0x543a0\nMOV             R8, R3                                                 ; +0x12, 0x543a4\nMOV             R6, R2                                                 ; +0x14, 0x543a6\nMOV             R5, R1                                                 ; +0x16, 0x543a8\nCBZ             R0, loc_543B2                                          ; +0x18, 0x543aa\nMOV             R0, R4                                                 ; +0x1a, 0x543ac\nBL              sub_5433C                                              ; +0x1c, 0x543ae\nMOV             R0, R4                                                 ; +0x20, 0x543b2\nMOV             R1, R5                                                 ; +0x22, 0x543b4\nMOV             R2, R6                                                 ; +0x24, 0x543b6\nMOV             R3, R8                                                 ; +0x26, 0x543b8\nSTR.W           R9, [SP,#8+var_8]                                      ; +0x28, 0x543ba\nBL              sub_5445E                                              ; +0x2c, 0x543be\nMOV             R5, R0                                                 ; +0x30, 0x543c2\nCBNZ            R0, loc_543D2                                          ; +0x32, 0x543c4\nLDR.W           R0, [R4,#0xE8]                                         ; +0x34, 0x543c6\nCBZ             R0, loc_543D2                                          ; +0x38, 0x543ca\nMOV             R0, R4                                                 ; +0x3a, 0x543cc\nBL              sub_54080                                              ; +0x3c, 0x543ce\nMOV             R0, R5                                                 ; +0x40, 0x543d2\nPOP.W           {R2,R3,R8,R9,R11}                                      ; +0x42, 0x543d4\nPOP             {R4-R7,PC}                                             ; +0x46, 0x543d8", "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"}