{"type": "func", "start": 344320, "end": 344428, "name": "sub_54100", "pseudocode": "// \n// sub_54100 from 0x54100 to 0x5416c (108 bytes)\n// \n// 1 xrefs:\n// > <???> @ 0x10c338\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\n__int64 __fastcall sub_54100(__int64 a1)\n{\n  __int64 v2; // x0\n  __int64 result; // x0\n  unsigned int v4; // w19\n  _BYTE v5[16]; // [xsp+0h] [xbp-20h] BYREF\n\n  v2 = *(_QWORD *)(a1 + 192);\n  if ( !v2 )\n    return 30;\n  result = (*(__int64 (__fastcall **)(__int64))(*(_QWORD *)v2 + 56LL))(v2);\n  if ( !(_DWORD)result )\n  {\n    sub_54CC4(v5);\n    v4 = ((__int64 (__fastcall *)(__int64))loc_52524)(a1);\n    sub_51F94((__int64)v5);\n    return v4;\n  }\n  return result;\n}", "assembly": "; \n; sub_54100 from 0x54100 to 0x5416c (108 bytes)\n; \n; 1 xrefs:\n; > <???> @ 0x10c338\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\nSUB             SP, SP, #0x30                                          ; +0x0, 0x54100\nSTP             X29, X30, [SP,#0x20+var_s0]                            ; +0x4, 0x54104\nSTR             X19, [SP,#0x20+var_10]                                 ; +0x8, 0x54108\nMOV             X19, X0                                                ; +0xc, 0x5410c\nLDR             X0, [X0,#0xC0]                                         ; +0x10, 0x54110\nADD             X29, SP, #0x20                                         ; +0x14, 0x54114\nCBZ             X0, loc_54158                                          ; +0x18, 0x54118\nLDR             X8, [X0]                                               ; +0x1c, 0x5411c\nLDR             X8, [X8,#0x38]                                         ; +0x20, 0x54120\nBLR             X8                                                     ; +0x24, 0x54124\nCBNZ            W0, loc_5415C                                          ; +0x28, 0x54128\nLDR             X8, [X19,#8]                                           ; +0x2c, 0x5412c\nMOV             W9, #8                                                 ; +0x30, 0x54130\nMOV             X0, SP                                                 ; +0x34, 0x54134\nBL              sub_54CC4                                              ; +0x38, 0x54138\nMOV             X0, X19                                                ; +0x3c, 0x5413c\nBL              loc_52524                                              ; +0x40, 0x54140\nMOV             W19, W0                                                ; +0x44, 0x54144\nMOV             X0, SP                                                 ; +0x48, 0x54148\nBL              sub_51F94                                              ; +0x4c, 0x5414c\nMOV             W0, W19                                                ; +0x50, 0x54150\nB               loc_5415C                                              ; +0x54, 0x54154\nMOV             W0, #0x1E                                              ; +0x58, 0x54158\nLDP             X29, X30, [SP,#0x20+var_s0]                            ; +0x5c, 0x5415c\nLDR             X19, [SP,#0x20+var_10]                                 ; +0x60, 0x54160\nADD             SP, SP, #0x30 ; '0'                                    ; +0x64, 0x54164\nRET                                                                    ; +0x68, 0x54168", "xrefs": ["<???> @ 0x10c338"], "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"}