{"type": "func", "start": 419844, "end": 419972, "name": "sub_66804", "pseudocode": "// \n// sub_66804 from 0x66804 to 0x66884 (128 bytes)\n// \n// 1 xrefs:\n// > <???> @ 0x10cad8\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_66804(__int64 a1, unsigned int a2, unsigned int a3, unsigned int a4, unsigned int a5)\n{\n  unsigned int v10; // w20\n\n  if ( *(_QWORD *)(a1 + 352) )\n    sub_66794(a1);\n  v10 = sub_66998(a1, a2, a3, a4, a5);\n  if ( !v10 && *(_QWORD *)(a1 + 352) )\n    ((void (__fastcall *)(__int64))loc_66428)(a1);\n  return v10;\n}", "assembly": "; \n; sub_66804 from 0x66804 to 0x66884 (128 bytes)\n; \n; 1 xrefs:\n; > <???> @ 0x10cad8\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             X23, [SP,#-0x10+var_30]!                               ; +0x0, 0x66804\nSTP             X22, X21, [SP,#0x30+var_20]                            ; +0x4, 0x66808\nSTP             X20, X19, [SP,#0x30+var_10]                            ; +0x8, 0x6680c\nSTP             X29, X30, [SP,#0x30+var_s0]                            ; +0xc, 0x66810\nLDR             X8, [X0,#0x160]                                        ; +0x10, 0x66814\nMOV             W20, W4                                                ; +0x14, 0x66818\nMOV             W21, W3                                                ; +0x18, 0x6681c\nMOV             W22, W2                                                ; +0x1c, 0x66820\nMOV             X19, X0                                                ; +0x20, 0x66824\nMOV             W23, W1                                                ; +0x24, 0x66828\nADD             X29, SP, #0x30                                         ; +0x28, 0x6682c\nCBZ             X8, loc_6683C                                          ; +0x2c, 0x66830\nMOV             X0, X19                                                ; +0x30, 0x66834\nBL              sub_66794                                              ; +0x34, 0x66838\nMOV             X0, X19                                                ; +0x38, 0x6683c\nMOV             W1, W23                                                ; +0x3c, 0x66840\nMOV             W2, W22                                                ; +0x40, 0x66844\nMOV             W3, W21                                                ; +0x44, 0x66848\nMOV             W4, W20                                                ; +0x48, 0x6684c\nBL              sub_66998                                              ; +0x4c, 0x66850\nMOV             W20, W0                                                ; +0x50, 0x66854\nCBNZ            W0, loc_6686C                                          ; +0x54, 0x66858\nLDR             X8, [X19,#0x160]                                       ; +0x58, 0x6685c\nCBZ             X8, loc_6686C                                          ; +0x5c, 0x66860\nMOV             X0, X19                                                ; +0x60, 0x66864\nBL              loc_66428                                              ; +0x64, 0x66868\nMOV             W0, W20                                                ; +0x68, 0x6686c\nLDP             X29, X30, [SP,#0x30+var_s0]                            ; +0x6c, 0x66870\nLDP             X20, X19, [SP,#0x30+var_10]                            ; +0x70, 0x66874\nLDP             X22, X21, [SP,#0x30+var_20]                            ; +0x74, 0x66878\nLDR             X23, [SP+0x30+var_30],#0x40                            ; +0x78, 0x6687c\nRET                                                                    ; +0x7c, 0x66880", "xrefs": ["<???> @ 0x10cad8"], "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"}