{"type": "func", "start": 379444, "end": 379676, "name": "sub_5CA34", "pseudocode": "// \n// sub_5CA34 from 0x5ca34 to 0x5cb1c (232 bytes)\n// \n// 1 xrefs:\n// > <???> @ 0x10c848\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_5CA34(__int64 a1, __int64 a2, __int64 a3, __int64 a4, int a5, int a6, int a7, int a8)\n{\n  long double v8; // q8\n  _BYTE v16[4096]; // [xsp+0h] [xbp-1040h] BYREF\n\n  memset(v16, 0, sizeof(v16));\n  *(_DWORD *)(a1 + 8) = a6;\n  *(_DWORD *)(a1 + 12) = a8;\n  LODWORD(v8) = 1.0;\n  *(_QWORD *)(a1 + 192) = a2;\n  *(_BYTE *)(a1 + 16) = a5 == 1 || a7 == 1;\n  sub_AAE58(a1 + 24, a2, v8);\n  sub_AB134(v16, *(unsigned __int8 *)(a1 + 16), *(unsigned int *)(a1 + 12), *(unsigned int *)(a1 + 8), 1.0);\n  sub_AC1D8(a1 + 24, v16, *(unsigned int *)(a1 + 12), *(unsigned int *)(a1 + 8), 32, 0, 0);\n  sub_AC66C(a1 + 24, 0, 0, v8);\n  return 0;\n}", "assembly": "; \n; sub_5CA34 from 0x5ca34 to 0x5cb1c (232 bytes)\n; \n; 1 xrefs:\n; > <???> @ 0x10c848\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\nSTR             D8, [SP,#-0x10+var_40]!                                ; +0x0, 0x5ca34\nSTR             X28, [SP,#0x40+var_38]                                 ; +0x4, 0x5ca38\nSTP             X24, X23, [SP,#0x40+var_30]                            ; +0x8, 0x5ca3c\nSTP             X22, X21, [SP,#0x40+var_20]                            ; +0xc, 0x5ca40\nSTP             X20, X19, [SP,#0x40+var_10]                            ; +0x10, 0x5ca44\nSTP             X29, X30, [SP,#0x40+var_s0]                            ; +0x14, 0x5ca48\nADD             X29, SP, #0x40                                         ; +0x18, 0x5ca4c\nSUB             SP, SP, #1,LSL#12                                      ; +0x1c, 0x5ca50\nMOV             X23, X1                                                ; +0x20, 0x5ca54\nMOV             X24, X0                                                ; +0x24, 0x5ca58\nMOV             X0, SP; s                                              ; +0x28, 0x5ca5c\nMOV             W2, #0x1000; n                                         ; +0x2c, 0x5ca60\nMOV             W1, WZR; c                                             ; +0x30, 0x5ca64\nMOV             W19, W7                                                ; +0x34, 0x5ca68\nMOV             W20, W6                                                ; +0x38, 0x5ca6c\nMOV             W21, W5                                                ; +0x3c, 0x5ca70\nMOV             W22, W4                                                ; +0x40, 0x5ca74\nBL              .memset                                                ; +0x44, 0x5ca78\nCMP             W22, #1                                                ; +0x48, 0x5ca7c\nCSET            W8, EQ                                                 ; +0x4c, 0x5ca80\nCMP             W20, #1                                                ; +0x50, 0x5ca84\nSTP             W21, W19, [X24,#8]                                     ; +0x54, 0x5ca88\nCSET            W9, EQ                                                 ; +0x58, 0x5ca8c\nADD             X19, X24, #0x18                                        ; +0x5c, 0x5ca90\nFMOV            S8, #1.0                                               ; +0x60, 0x5ca94\nORR             W8, W8, W9                                             ; +0x64, 0x5ca98\nMOV             X0, X19                                                ; +0x68, 0x5ca9c\nMOV             X1, X23                                                ; +0x6c, 0x5caa0\nMOV             V0.16B, V8.16B                                         ; +0x70, 0x5caa4\nSTR             X23, [X24,#0xC0]                                       ; +0x74, 0x5caa8\nSTRB            W8, [X24,#0x10]                                        ; +0x78, 0x5caac\nBL              sub_AAE58                                              ; +0x7c, 0x5cab0\nLDRB            W1, [X24,#0x10]                                        ; +0x80, 0x5cab4\nLDP             W3, W2, [X24,#8]                                       ; +0x84, 0x5cab8\nMOV             X0, SP                                                 ; +0x88, 0x5cabc\nMOV             V0.16B, V8.16B                                         ; +0x8c, 0x5cac0\nBL              sub_AB134                                              ; +0x90, 0x5cac4\nLDP             W3, W2, [X24,#8]                                       ; +0x94, 0x5cac8\nMOV             X1, SP                                                 ; +0x98, 0x5cacc\nMOV             W4, #0x20 ; ' '                                        ; +0x9c, 0x5cad0\nMOV             X0, X19                                                ; +0xa0, 0x5cad4\nMOV             W5, WZR                                                ; +0xa4, 0x5cad8\nMOV             W6, WZR                                                ; +0xa8, 0x5cadc\nBL              sub_AC1D8                                              ; +0xac, 0x5cae0\nMOV             X0, X19                                                ; +0xb0, 0x5cae4\nMOV             V0.16B, V8.16B                                         ; +0xb4, 0x5cae8\nMOV             W1, WZR                                                ; +0xb8, 0x5caec\nMOV             W2, WZR                                                ; +0xbc, 0x5caf0\nBL              sub_AC66C                                              ; +0xc0, 0x5caf4\nMOV             W0, WZR                                                ; +0xc4, 0x5caf8\nADD             SP, SP, #1,LSL#12                                      ; +0xc8, 0x5cafc\nLDP             X29, X30, [SP,#0x40+var_s0]                            ; +0xcc, 0x5cb00\nLDP             X20, X19, [SP,#0x40+var_10]                            ; +0xd0, 0x5cb04\nLDP             X22, X21, [SP,#0x40+var_20]                            ; +0xd4, 0x5cb08\nLDP             X24, X23, [SP,#0x40+var_30]                            ; +0xd8, 0x5cb0c\nLDR             X28, [SP,#0x40+var_38]                                 ; +0xdc, 0x5cb10\nLDR             D8, [SP+0x40+var_40],#0x50                             ; +0xe0, 0x5cb14\nRET                                                                    ; +0xe4, 0x5cb18", "xrefs": ["<???> @ 0x10c848"], "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"}