{"type": "func", "start": 412644, "end": 412720, "name": "sub_64BE4", "pseudocode": "// \n// sub_64BE4 from 0x64be4 to 0x64c30 (76 bytes)\n// \n// 2 xrefs:\n// > sub_6461C @ 0x646f0\n// > sub_6461C @ 0x64930\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_64BE4(__int64 a1, long double *a2)\n{\n  long double result; // q0\n\n  if ( !(unsigned int)sub_65508() )\n  {\n    result = *a2;\n    *(long double *)(*(_QWORD *)a1 + 16LL * (int)(*(_DWORD *)(a1 + 8))++) = *a2;\n  }\n  return result;\n}", "assembly": "; \n; sub_64BE4 from 0x64be4 to 0x64c30 (76 bytes)\n; \n; 2 xrefs:\n; > sub_6461C @ 0x646f0\n; > sub_6461C @ 0x64930\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, 0x64be4\nSTP             X29, X30, [SP,#0x10+var_s0]                            ; +0x4, 0x64be8\nLDR             W8, [X0,#8]                                            ; +0x8, 0x64bec\nMOV             X20, X1                                                ; +0xc, 0x64bf0\nADD             X29, SP, #0x10                                         ; +0x10, 0x64bf4\nMOV             X19, X0                                                ; +0x14, 0x64bf8\nADD             W1, W8, #1                                             ; +0x18, 0x64bfc\nBL              sub_65508                                              ; +0x1c, 0x64c00\nCBNZ            W0, loc_64C24                                          ; +0x20, 0x64c04\nLDR             X8, [X19]                                              ; +0x24, 0x64c08\nLDRSW           X9, [X19,#8]                                           ; +0x28, 0x64c0c\nLDR             Q0, [X20]                                              ; +0x2c, 0x64c10\nSTR             Q0, [X8,X9,LSL#4]                                      ; +0x30, 0x64c14\nLDR             W8, [X19,#8]                                           ; +0x34, 0x64c18\nADD             W8, W8, #1                                             ; +0x38, 0x64c1c\nSTR             W8, [X19,#8]                                           ; +0x3c, 0x64c20\nLDP             X29, X30, [SP,#0x10+var_s0]                            ; +0x40, 0x64c24\nLDP             X20, X19, [SP+0x10+var_10],#0x20                       ; +0x44, 0x64c28\nRET                                                                    ; +0x48, 0x64c2c", "xrefs": ["sub_6461C @ 0x646f0", "sub_6461C @ 0x64930"], "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"}