{"type": "func", "start": 464960, "end": 465064, "name": "sub_71840", "pseudocode": "// \n// sub_71840 from 0x71840 to 0x718a8 (104 bytes)\n// \n// 1 xrefs:\n// > sub_C52A8 @ 0xc52bc\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_71840(\n        __int64 a1,\n        __int64 a2,\n        __int64 a3,\n        __int64 a4,\n        __int64 a5,\n        __int64 a6,\n        long double a7,\n        float a8)\n{\n  float *v8; // x22\n  __int64 v9; // x30\n  __int64 v10; // x0\n  __int64 v11; // x0\n  long double v12; // q0\n  float v13; // s2\n  float v14; // s1\n\n  v10 = sub_71920(a1, a2, a3, a4, a5, a6, v9, a7, fmaxf(a8, 10.0), 6.2832, 22000.0, 0.49);\n  v11 = sub_71950(v10);\n  v12 = sub_71980(v11);\n  *v8 = -(float)(v13 + (float)(*(float *)&v12 * v13));\n  return sub_719A0(v12, v13 - (float)(v14 * v13), v13 + (float)(*(float *)&v12 * v13), -2.0 * v13);\n}", "assembly": "; \n; sub_71840 from 0x71840 to 0x718a8 (104 bytes)\n; \n; 1 xrefs:\n; > sub_C52A8 @ 0xc52bc\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\nSUB             SP, SP, #0x50                                          ; +0x0, 0x71840\nADRP            X8, #dword_2F124@PAGE                                  ; +0x4, 0x71844\nLDR             S3, [X8,#dword_2F124@PAGEOFF]                          ; +0x8, 0x71848\nADRP            X8, #dword_2F068@PAGE                                  ; +0xc, 0x7184c\nLDR             S4, [X8,#dword_2F068@PAGEOFF]                          ; +0x10, 0x71850\nSTR             D8, [SP,#0x50+var_40]                                  ; +0x14, 0x71854\nMOV             V8.16B, V2.16B                                         ; +0x18, 0x71858\nFMOV            S2, #10.0                                              ; +0x1c, 0x7185c\nADRP            X8, #dword_2EF58@PAGE                                  ; +0x20, 0x71860\nFMAXNM          S1, S1, S2                                             ; +0x24, 0x71864\nLDR             S2, [X8,#dword_2EF58@PAGEOFF]                          ; +0x28, 0x71868\nMOV             X6, X30                                                ; +0x2c, 0x7186c\nBL              sub_71920                                              ; +0x30, 0x71870\nMOV             X30, X6                                                ; +0x34, 0x71874\nSTP             X29, X30, [SP,#0x50+var_10]                            ; +0x38, 0x71878\nBL              sub_71950                                              ; +0x3c, 0x7187c\nBL              sub_71980                                              ; +0x40, 0x71880\nFNMADD          S3, S0, S2, S2                                         ; +0x44, 0x71884\nSTR             S3, [X22]                                              ; +0x48, 0x71888\nFMOV            S3, #-2.0                                              ; +0x4c, 0x7188c\nFMUL            S3, S3, S2                                             ; +0x50, 0x71890\nFMSUB           S1, S1, S2, S2                                         ; +0x54, 0x71894\nFMADD           S2, S0, S2, S2                                         ; +0x58, 0x71898\nBL              sub_719A0                                              ; +0x5c, 0x7189c\nLDP             X29, X30, [SP,#0x50+var_10]                            ; +0x60, 0x718a0\nB               loc_71968                                              ; +0x64, 0x718a4", "xrefs": ["sub_C52A8 @ 0xc52bc"], "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"}