{"type": "func", "start": 524812, "end": 524884, "name": "sub_8020C", "pseudocode": "// \n// sub_8020C from 0x8020c to 0x80254 (72 bytes)\n// \n// 2 xrefs:\n// > sub_800E0 @ 0x80180\n// > sub_800E0 @ 0x80194\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:14:07 +0000\n// \n\nlong double __fastcall sub_8020C(float a1, float a2, long double a3)\n{\n  bool v3; // cc\n\n  v3 = a2 <= 0.0 || (float)(a2 * 5.0) <= a1;\n  LODWORD(a3) = 0;\n  if ( !v3 )\n    *(float *)&a3 = 360.0 / (float)((float)((float)((float)(a1 * a1) * 4.0) / (float)(a2 * a2)) + 1.0);\n  return a3;\n}", "assembly": "; \n; sub_8020C from 0x8020c to 0x80254 (72 bytes)\n; \n; 2 xrefs:\n; > sub_800E0 @ 0x80180\n; > sub_800E0 @ 0x80194\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:14:07 +0000\n; \nFMOV            S2, #5.0                                               ; +0x0, 0x8020c\nFMUL            S2, S1, S2                                             ; +0x4, 0x80210\nFCMP            S1, #0.0                                               ; +0x8, 0x80214\nFCCMP           S2, S0, #4, GT                                         ; +0xc, 0x80218\nFMOV            S2, WZR                                                ; +0x10, 0x8021c\nB.LE            loc_8024C                                              ; +0x14, 0x80220\nFMUL            S0, S0, S0                                             ; +0x18, 0x80224\nFMOV            S2, #4.0                                               ; +0x1c, 0x80228\nFMUL            S1, S1, S1                                             ; +0x20, 0x8022c\nFMUL            S0, S0, S2                                             ; +0x24, 0x80230\nFMOV            S3, #1.0                                               ; +0x28, 0x80234\nFDIV            S0, S0, S1                                             ; +0x2c, 0x80238\nMOV             W8, #0x43B40000                                        ; +0x30, 0x8023c\nFADD            S0, S0, S3                                             ; +0x34, 0x80240\nFMOV            S1, W8                                                 ; +0x38, 0x80244\nFDIV            S2, S1, S0                                             ; +0x3c, 0x80248\nMOV             V0.16B, V2.16B                                         ; +0x40, 0x8024c\nRET                                                                    ; +0x44, 0x80250", "xrefs": ["sub_800E0 @ 0x80180", "sub_800E0 @ 0x80194"], "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"}