{"type": "func", "start": 633016, "end": 633100, "name": "sub_9A8B8", "pseudocode": "// \n// sub_9A8B8 from 0x9a8b8 to 0x9a90c (84 bytes)\n// \n// 2 xrefs:\n// > sub_9A85C @ 0x9a882\n// > sub_9A85C @ 0x9a88e\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:30 +0000\n// \n\nint __fastcall sub_9A8B8(int a1, float a2, float a3)\n{\n  float v3; // s0\n\n  v3 = 0.0;\n  if ( a3 > 0.0 )\n    v3 = 360.0 / (float)((float)((float)((float)(a2 * a2) * 4.0) / (float)(a3 * a3)) + 1.0);\n  return LODWORD(v3);\n}", "assembly": "; \n; sub_9A8B8 from 0x9a8b8 to 0x9a90c (84 bytes)\n; \n; 2 xrefs:\n; > sub_9A85C @ 0x9a882\n; > sub_9A85C @ 0x9a88e\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:30 +0000\n; \nVMOV            S2, R2                                                 ; +0x0, 0x9a8b8\nVLDR            S0, =0.0                                               ; +0x4, 0x9a8bc\nVCMPE.F32       S2, #0.0                                               ; +0x8, 0x9a8c0\nVMRS            APSR_nzcv, FPSCR                                       ; +0xc, 0x9a8c4\nITTTT GT                                                               ; +0x10, 0x9a8c8\nVMOVGT.F32      S4, #5.0                                               ; +0x12, 0x9a8ca\nVMULGT.F32      S6, S2, S4                                             ; +0x16, 0x9a8ce\nVMOVGT          S4, R1                                                 ; +0x1a, 0x9a8d2\nVCMPEGT.F32     S6, S4                                                 ; +0x1e, 0x9a8d6\nIT GT                                                                  ; +0x22, 0x9a8da\nVMRSGT          APSR_nzcv, FPSCR                                       ; +0x24, 0x9a8dc\nBLE             loc_9A906                                              ; +0x28, 0x9a8e0\nVMUL.F32        S0, S4, S4                                             ; +0x2a, 0x9a8e2\nVMOV.F32        S4, #4.0                                               ; +0x2e, 0x9a8e6\nVMUL.F32        S2, S2, S2                                             ; +0x32, 0x9a8ea\nVMUL.F32        S0, S0, S4                                             ; +0x36, 0x9a8ee\nVDIV.F32        S0, S0, S2                                             ; +0x3a, 0x9a8f2\nVMOV.F32        S2, #1.0                                               ; +0x3e, 0x9a8f6\nVADD.F32        S0, S0, S2                                             ; +0x42, 0x9a8fa\nVLDR            S2, =360.0                                             ; +0x46, 0x9a8fe\nVDIV.F32        S0, S2, S0                                             ; +0x4a, 0x9a902\nVMOV            R0, S0                                                 ; +0x4e, 0x9a906\nBX              LR                                                     ; +0x52, 0x9a90a", "xrefs": ["sub_9A85C @ 0x9a882", "sub_9A85C @ 0x9a88e"], "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"}