{"type": "func", "start": 747480, "end": 747584, "name": "sub_B67D8", "pseudocode": "// \n// sub_B67D8 from 0xb67d8 to 0xb6840 (104 bytes)\n// \n// 2 xrefs:\n// > sub_B68D4 @ 0xb6918\n// > sub_B68D4 @ 0xb692c\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\nfloat __fastcall sub_B67D8(float a1, float a2, __int64 a3, __int64 a4, float *a5, float *a6)\n{\n  float v9; // s0\n  float v10; // s0\n  float result; // s0\n\n  v9 = tanf((float)(a1 * 3.1416) / a2);\n  v10 = a2 * (float)(v9 + v9);\n  *a6 = *a6 / (float)(v10 * v10);\n  result = *a5 / v10;\n  *a5 = result;\n  return result;\n}", "assembly": "; \n; sub_B67D8 from 0xb67d8 to 0xb6840 (104 bytes)\n; \n; 2 xrefs:\n; > sub_B68D4 @ 0xb6918\n; > sub_B68D4 @ 0xb692c\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             D8, [SP,#-0x10+var_20]!                                ; +0x0, 0xb67d8\nADRP            X8, #dword_2EEF8@PAGE                                  ; +0x4, 0xb67dc\nMOV             V8.16B, V1.16B                                         ; +0x8, 0xb67e0\nLDR             S1, [X8,#dword_2EEF8@PAGEOFF]                          ; +0xc, 0xb67e4\nSTP             X20, X19, [SP,#0x20+var_10]                            ; +0x10, 0xb67e8\nSTP             X29, X30, [SP,#0x20+var_s0]                            ; +0x14, 0xb67ec\nADD             X29, SP, #0x20                                         ; +0x18, 0xb67f0\nFMUL            S0, S0, S1                                             ; +0x1c, 0xb67f4\nFDIV            S0, S0, S8; x                                          ; +0x20, 0xb67f8\nMOV             X19, X3                                                ; +0x24, 0xb67fc\nMOV             X20, X2                                                ; +0x28, 0xb6800\nBL              .tanf                                                  ; +0x2c, 0xb6804\nLDR             S1, [X19]                                              ; +0x30, 0xb6808\nFADD            S0, S0, S0                                             ; +0x34, 0xb680c\nFMUL            S0, S8, S0                                             ; +0x38, 0xb6810\nFMUL            S2, S0, S0                                             ; +0x3c, 0xb6814\nFDIV            S1, S1, S2                                             ; +0x40, 0xb6818\nSTR             S1, [X19]                                              ; +0x44, 0xb681c\nLDR             S1, [X20]                                              ; +0x48, 0xb6820\nMOV             W0, WZR                                                ; +0x4c, 0xb6824\nFDIV            S0, S1, S0                                             ; +0x50, 0xb6828\nSTR             S0, [X20]                                              ; +0x54, 0xb682c\nLDP             X29, X30, [SP,#0x20+var_s0]                            ; +0x58, 0xb6830\nLDP             X20, X19, [SP,#0x20+var_10]                            ; +0x5c, 0xb6834\nLDR             D8, [SP+0x20+var_20],#0x30                             ; +0x60, 0xb6838\nRET                                                                    ; +0x64, 0xb683c", "xrefs": ["sub_B68D4 @ 0xb6918", "sub_B68D4 @ 0xb692c"], "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"}