{"type": "func", "start": 460280, "end": 460388, "name": "sub_705F8", "pseudocode": "// \n// sub_705F8 from 0x705f8 to 0x70664 (108 bytes)\n// \n// 1 xrefs:\n// > <???> @ 0x118948\n// \n// This function is hookable on this platform (idp: arm, 32 bit: False, 64 bit: True!\n// \n// Using BromaIDA 8.3.0 @ https://github.com/Stazzical/BromaIDA\n// Using bindings at commit 1c6ec395 at Thu Nov 26 21:29:22 2026 from https://github.com/geode-sdk/bindings\n// Generated at Fri, 27 Nov 2026 12:13:59 +0000\n// \n\n// positive sp value has been detected, the output may be wrong!\nvoid __fastcall sub_705F8(__int64 a1, __int64 a2, __int64 a3, __int64 a4, __int64 a5, __int64 a6)\n{\n  float *v6; // x19\n  float *v7; // x20\n  int v8; // w21\n  float *v9; // x22\n  __int64 v10; // x23\n  __int64 v11; // x24\n  __int64 v12; // x25\n  __int64 v13; // x30\n  float v14; // s10\n  float v15; // s11\n  float v16; // s12\n  __int64 v17; // x0\n  long double v18; // q0\n  long double v19; // q1\n  float v20; // s0\n  bool v21; // cc\n  char v22; // zf\n  char v23; // nf\n  char v24; // vf\n\n  v17 = ((__int64 (__fastcall *)(__int64, __int64, __int64, __int64, __int64, __int64, __int64))sub_707F4)(\n          a1,\n          a2,\n          a3,\n          a4,\n          a5,\n          a6,\n          v13);\n  while ( (int)v12 < v8 )\n  {\n    v20 = (float)(*v9 * *v9) + (float)(v9[1] * v9[1]);\n    v21 = v20 <= *v6;\n    *(float *)&v18 = v20 - *v7;\n    if ( v21 )\n      *(float *)&v19 = v14;\n    else\n      *(float *)&v19 = v15;\n    v17 = ((__int64 (__fastcall *)(__int64, long double, long double))sub_70874)(v17, v18, v19);\n    if ( !(v23 ^ v24 | v22) )\n      *(float *)&v18 = ((float (__fastcall *)(__int64))sub_70868)(v17) * v16;\n    *(_QWORD *)&v19 = *(_QWORD *)(v11 + 8 * v12);\n    v9 += 2;\n    *(float32x2_t *)&v18 = vmul_n_f32(*(float32x2_t *)&v19, *(float *)&v18);\n    *(_QWORD *)(v10 + 8 * v12++) = *(_QWORD *)&v18;\n  }\n}", "assembly": "; \n; sub_705F8 from 0x705f8 to 0x70664 (108 bytes)\n; \n; 1 xrefs:\n; > <???> @ 0x118948\n; \n; This function is hookable on this platform (idp: arm, 32 bit: False, 64 bit: True!\n; \n; Using BromaIDA 8.3.0 @ https://github.com/Stazzical/BromaIDA\n; Using bindings at commit 1c6ec395 at Thu Nov 26 21:29:22 2026 from https://github.com/geode-sdk/bindings\n; Generated at Fri, 27 Nov 2026 12:13:59 +0000\n; \nMOV             X6, X30                                                ; +0x0, 0x705f8\nBL              sub_707F4                                              ; +0x4, 0x705fc\nMOV             X30, X6                                                ; +0x8, 0x70600\nSTP             X29, X30, [SP,#arg_70]                                 ; +0xc, 0x70604\nADD             X29, SP, #arg_70                                       ; +0x10, 0x70608\nCMP             W25, W21                                               ; +0x14, 0x7060c\nB.GE            loc_7065C                                              ; +0x18, 0x70610\nLDP             S0, S1, [X22]                                          ; +0x1c, 0x70614\nLDR             S2, [X19]                                              ; +0x20, 0x70618\nLDR             S3, [X20]                                              ; +0x24, 0x7061c\nFMUL            S0, S0, S0                                             ; +0x28, 0x70620\nFMADD           S0, S1, S1, S0                                         ; +0x2c, 0x70624\nFCMP            S0, S2                                                 ; +0x30, 0x70628\nFSUB            S0, S0, S3                                             ; +0x34, 0x7062c\nFCSEL           S1, S11, S10, GT                                       ; +0x38, 0x70630\nBL              sub_70874                                              ; +0x3c, 0x70634\nB.LE            loc_70644                                              ; +0x40, 0x70638\nBL              sub_70868                                              ; +0x44, 0x7063c\nFMUL            S0, S0, S12                                            ; +0x48, 0x70640\nLDR             D1, [X24,X25,LSL#3]                                    ; +0x4c, 0x70644\nADD             X22, X22, #8                                           ; +0x50, 0x70648\nFMUL            V0.2S, V1.2S, V0.S[0]                                  ; +0x54, 0x7064c\nSTR             D0, [X23,X25,LSL#3]                                    ; +0x58, 0x70650\nADD             X25, X25, #1                                           ; +0x5c, 0x70654\nB               loc_7060C                                              ; +0x60, 0x70658\nLDP             X29, X30, [SP,#arg_70]                                 ; +0x64, 0x7065c\nB               loc_70848                                              ; +0x68, 0x70660", "xrefs": ["<???> @ 0x118948"], "is_objc": false, "is_32_bit": false, "is_64_bit": true, "idp_name": "arm", "bida_info": "8.3.0 @ https://github.com/Stazzical/BromaIDA", "bindings_info": "commit 1c6ec395 at Thu Nov 26 21:29:22 2026 from https://github.com/geode-sdk/bindings"}