{"type": "func", "start": 620164, "end": 620252, "name": "sub_97684", "pseudocode": "// \n// sub_97684 from 0x97684 to 0x976dc (88 bytes)\n// \n// 2 xrefs:\n// > sub_9778C @ 0x977ae\n// > sub_9778C @ 0x977c2\n// \n// This function is hookable on this platform (idp: arm, 32 bit: True, 64 bit: False!\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 11:41:29 +0000\n// \n\nint __fastcall sub_97684(int a1, int a2, float *a3, float *a4, float a5, float a6)\n{\n  float v8; // s0\n  float v10; // s0\n\n  v8 = tanf((float)(a5 * 3.1416) / a6);\n  v10 = a6 * (float)(v8 + v8);\n  *a4 = *a4 / (float)(v10 * v10);\n  *a3 = *a3 / v10;\n  return 0;\n}", "assembly": "; \n; sub_97684 from 0x97684 to 0x976dc (88 bytes)\n; \n; 2 xrefs:\n; > sub_9778C @ 0x977ae\n; > sub_9778C @ 0x977c2\n; \n; This function is hookable on this platform (idp: arm, 32 bit: True, 64 bit: False!\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 11:41:29 +0000\n; \nPUSH            {R4,R5,R7,LR}                                          ; +0x0, 0x97684\nADD             R7, SP, #8                                             ; +0x2, 0x97686\nVPUSH           {D8}                                                   ; +0x4, 0x97688\nVLDR            S0, =3.1416                                            ; +0x8, 0x9768c\nMOV             R4, R3                                                 ; +0xc, 0x97690\nVLDR            S2, [R7,#-0x10+arg_0]                                  ; +0xe, 0x97692\nMOV             R5, R2                                                 ; +0x12, 0x97696\nVLDR            S16, [R7,#-0x10+arg_4]                                 ; +0x14, 0x97698\nVMUL.F32        S0, S2, S0                                             ; +0x18, 0x9769c\nVDIV.F32        S0, S0, S16                                            ; +0x1c, 0x976a0\nVMOV            R0, S0; x                                              ; +0x20, 0x976a4\nBLX             tanf                                                   ; +0x24, 0x976a8\nVMOV            S0, R0                                                 ; +0x28, 0x976ac\nVLDR            S4, [R4]                                               ; +0x2c, 0x976b0\nMOVS            R0, #0                                                 ; +0x30, 0x976b4\nVADD.F32        S0, S0, S0                                             ; +0x32, 0x976b6\nVMUL.F32        S0, S16, S0                                            ; +0x36, 0x976ba\nVMUL.F32        S2, S0, S0                                             ; +0x3a, 0x976be\nVDIV.F32        S2, S4, S2                                             ; +0x3e, 0x976c2\nVSTR            S2, [R4]                                               ; +0x42, 0x976c6\nVLDR            S2, [R5]                                               ; +0x46, 0x976ca\nVDIV.F32        S0, S2, S0                                             ; +0x4a, 0x976ce\nVSTR            S0, [R5]                                               ; +0x4e, 0x976d2\nVPOP            {D8}                                                   ; +0x52, 0x976d6\nPOP             {R4,R5,R7,PC}                                          ; +0x56, 0x976da", "xrefs": ["sub_9778C @ 0x977ae", "sub_9778C @ 0x977c2"], "is_objc": false, "is_32_bit": true, "is_64_bit": false, "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"}