{"type": "func", "start": 546820, "end": 546896, "name": "sub_85804", "pseudocode": "// \n// sub_85804 from 0x85804 to 0x85850 (76 bytes)\n// \n// 1 xrefs:\n// > sub_85638 @ 0x856b0\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\nlong double __fastcall sub_85804(__int64 a1, long double *a2)\n{\n  long double result; // q0\n\n  if ( !(unsigned int)sub_85850() )\n  {\n    result = *a2;\n    *(long double *)(*(_QWORD *)a1 + 16LL * (int)(*(_DWORD *)(a1 + 8))++) = *a2;\n  }\n  return result;\n}", "assembly": "; \n; sub_85804 from 0x85804 to 0x85850 (76 bytes)\n; \n; 1 xrefs:\n; > sub_85638 @ 0x856b0\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             X20, X19, [SP,#-0x10+var_10]!                          ; +0x0, 0x85804\nSTP             X29, X30, [SP,#0x10+var_s0]                            ; +0x4, 0x85808\nLDR             W8, [X0,#8]                                            ; +0x8, 0x8580c\nMOV             X20, X1                                                ; +0xc, 0x85810\nADD             X29, SP, #0x10                                         ; +0x10, 0x85814\nMOV             X19, X0                                                ; +0x14, 0x85818\nADD             W1, W8, #1                                             ; +0x18, 0x8581c\nBL              sub_85850                                              ; +0x1c, 0x85820\nCBNZ            W0, loc_85844                                          ; +0x20, 0x85824\nLDR             X8, [X19]                                              ; +0x24, 0x85828\nLDRSW           X9, [X19,#8]                                           ; +0x28, 0x8582c\nLDR             Q0, [X20]                                              ; +0x2c, 0x85830\nSTR             Q0, [X8,X9,LSL#4]                                      ; +0x30, 0x85834\nLDR             W8, [X19,#8]                                           ; +0x34, 0x85838\nADD             W8, W8, #1                                             ; +0x38, 0x8583c\nSTR             W8, [X19,#8]                                           ; +0x3c, 0x85840\nLDP             X29, X30, [SP,#0x10+var_s0]                            ; +0x40, 0x85844\nLDP             X20, X19, [SP+0x10+var_10],#0x20                       ; +0x44, 0x85848\nRET                                                                    ; +0x48, 0x8584c", "xrefs": ["sub_85638 @ 0x856b0"], "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"}