{"type": "func", "start": 672268, "end": 672332, "name": "sub_A420C", "pseudocode": "// \n// sub_A420C from 0xa420c to 0xa424c (64 bytes)\n// \n// 2 xrefs:\n// > sub_A3C1E @ 0xa3cfa\n// > sub_A4376 @ 0xa44ea\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\nint __fastcall sub_A420C(int a1, int a2)\n{\n  float v2; // s0\n  int v3; // s2\n\n  v2 = *(float *)(a2 + 44);\n  v3 = dword_125C68;\n  if ( v2 < *(float *)&dword_125C68 || (v3 = dword_125C6C, v2 > *(float *)&dword_125C6C) )\n  {\n    v2 = *(float *)&v3;\n    *(_DWORD *)(a2 + 44) = v3;\n  }\n  *(float *)(a1 + 1828) = v2;\n  sub_A456C(a1, a2);\n  return 0;\n}", "assembly": "; \n; sub_A420C from 0xa420c to 0xa424c (64 bytes)\n; \n; 2 xrefs:\n; > sub_A3C1E @ 0xa3cfa\n; > sub_A4376 @ 0xa44ea\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\nPUSH            {R7,LR}                                                ; +0x0, 0xa420c\nMOV             R7, SP                                                 ; +0x2, 0xa420e\nLDR             R2, =(unk_125C40 - 0xA421A)                            ; +0x4, 0xa4210\nVLDR            S0, [R1,#0x2C]                                         ; +0x6, 0xa4212\nADD             R2, PC; unk_125C40                                     ; +0xa, 0xa4216\nVLDR            S2, [R2,#(dword_125C68 - 0x125C40)]                    ; +0xc, 0xa4218\nVCMPE.F32       S0, S2                                                 ; +0x10, 0xa421c\nVMRS            APSR_nzcv, FPSCR                                       ; +0x14, 0xa4220\nBLT             loc_A4234                                              ; +0x18, 0xa4224\nVLDR            S2, [R2,#(dword_125C6C - 0x125C40)]                    ; +0x1a, 0xa4226\nVCMPE.F32       S0, S2                                                 ; +0x1e, 0xa422a\nVMRS            APSR_nzcv, FPSCR                                       ; +0x22, 0xa422e\nBLE             loc_A423C                                              ; +0x26, 0xa4232\nVMOV.F32        S0, S2                                                 ; +0x28, 0xa4234\nVSTR            S2, [R1,#0x2C]                                         ; +0x2c, 0xa4238\nADDW            R2, R0, #0x724                                         ; +0x30, 0xa423c\nVSTR            S0, [R2]                                               ; +0x34, 0xa4240\nBL              sub_A456C                                              ; +0x38, 0xa4244\nMOVS            R0, #0                                                 ; +0x3c, 0xa4248\nPOP             {R7,PC}                                                ; +0x3e, 0xa424a", "xrefs": ["sub_A3C1E @ 0xa3cfa", "sub_A4376 @ 0xa44ea"], "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"}