{"type": "func", "start": 351388, "end": 351520, "name": "sub_55C9C", "pseudocode": "// \n// sub_55C9C from 0x55c9c to 0x55d20 (132 bytes)\n// \n// 4 xrefs:\n// > sub_54DB0 @ 0x54f50\n// > sub_59D94 @ 0x59ee8\n// > sub_5A244 @ 0x5a330\n// > sub_5C594 @ 0x5c5ac\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_55C9C(__int64 a1, __int64 a2, unsigned int a3, unsigned int a4, __int64 a5, __int64 a6)\n{\n  __int64 result; // x0\n  unsigned int v13; // w19\n\n  result = sub_7BA10(*(_QWORD *)(a1 + 8), 0);\n  if ( !(_DWORD)result )\n  {\n    v13 = (*(__int64 (__fastcall **)(__int64, _QWORD, _QWORD, __int64, __int64))(a1 + 368))(a2, a3, a4, a5, a6);\n    result = sub_7BAA0(*(_QWORD *)(a1 + 8));\n    if ( !(_DWORD)result )\n      return v13;\n  }\n  return result;\n}", "assembly": "; \n; sub_55C9C from 0x55c9c to 0x55d20 (132 bytes)\n; \n; 4 xrefs:\n; > sub_54DB0 @ 0x54f50\n; > sub_59D94 @ 0x59ee8\n; > sub_5A244 @ 0x5a330\n; > sub_5C594 @ 0x5c5ac\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\nSTP             X24, X23, [SP,#-0x10+var_30]!                          ; +0x0, 0x55c9c\nSTP             X22, X21, [SP,#0x30+var_20]                            ; +0x4, 0x55ca0\nSTP             X20, X19, [SP,#0x30+var_10]                            ; +0x8, 0x55ca4\nSTP             X29, X30, [SP,#0x30+var_s0]                            ; +0xc, 0x55ca8\nMOV             X20, X0                                                ; +0x10, 0x55cac\nLDR             X0, [X0,#8]                                            ; +0x14, 0x55cb0\nMOV             X24, X1                                                ; +0x18, 0x55cb4\nMOV             W1, WZR                                                ; +0x1c, 0x55cb8\nADD             X29, SP, #0x30                                         ; +0x20, 0x55cbc\nMOV             X19, X5                                                ; +0x24, 0x55cc0\nMOV             X21, X4                                                ; +0x28, 0x55cc4\nMOV             W22, W3                                                ; +0x2c, 0x55cc8\nMOV             W23, W2                                                ; +0x30, 0x55ccc\nBL              sub_7BA10                                              ; +0x34, 0x55cd0\nCBNZ            W0, loc_55D0C                                          ; +0x38, 0x55cd4\nLDR             X8, [X20,#0x170]                                       ; +0x3c, 0x55cd8\nMOV             X0, X24                                                ; +0x40, 0x55cdc\nMOV             W1, W23                                                ; +0x44, 0x55ce0\nMOV             W2, W22                                                ; +0x48, 0x55ce4\nMOV             X3, X21                                                ; +0x4c, 0x55ce8\nMOV             X4, X19                                                ; +0x50, 0x55cec\nBLR             X8                                                     ; +0x54, 0x55cf0\nLDR             X8, [X20,#8]                                           ; +0x58, 0x55cf4\nMOV             W19, W0                                                ; +0x5c, 0x55cf8\nMOV             X0, X8                                                 ; +0x60, 0x55cfc\nBL              sub_7BAA0                                              ; +0x64, 0x55d00\nCBNZ            W0, loc_55D0C                                          ; +0x68, 0x55d04\nMOV             W0, W19                                                ; +0x6c, 0x55d08\nLDP             X29, X30, [SP,#0x30+var_s0]                            ; +0x70, 0x55d0c\nLDP             X20, X19, [SP,#0x30+var_10]                            ; +0x74, 0x55d10\nLDP             X22, X21, [SP,#0x30+var_20]                            ; +0x78, 0x55d14\nLDP             X24, X23, [SP+0x30+var_30],#0x40                       ; +0x7c, 0x55d18\nRET                                                                    ; +0x80, 0x55d1c", "xrefs": ["sub_54DB0 @ 0x54f50", "sub_59D94 @ 0x59ee8", "sub_5A244 @ 0x5a330", "sub_5C594 @ 0x5c5ac"], "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"}