{"type": "func", "start": 672016, "end": 672080, "name": "sub_A4110", "pseudocode": "// \n// sub_A4110 from 0xa4110 to 0xa4150 (64 bytes)\n// \n// 2 xrefs:\n// > sub_A3C1E @ 0xa3ce2\n// > sub_A4376 @ 0xa4454\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_A4110(int a1, int a2)\n{\n  float v2; // s0\n  int v3; // s2\n\n  v2 = *(float *)(a2 + 24);\n  v3 = dword_125B00;\n  if ( v2 < *(float *)&dword_125B00 || (v3 = dword_125B04, v2 > *(float *)&dword_125B04) )\n  {\n    v2 = *(float *)&v3;\n    *(_DWORD *)(a2 + 24) = v3;\n  }\n  *(float *)(a1 + 1808) = v2;\n  sub_A4990();\n  return 0;\n}", "assembly": "; \n; sub_A4110 from 0xa4110 to 0xa4150 (64 bytes)\n; \n; 2 xrefs:\n; > sub_A3C1E @ 0xa3ce2\n; > sub_A4376 @ 0xa4454\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, 0xa4110\nMOV             R7, SP                                                 ; +0x2, 0xa4112\nLDR             R2, =(unk_125AD8 - 0xA411E)                            ; +0x4, 0xa4114\nVLDR            S0, [R1,#0x18]                                         ; +0x6, 0xa4116\nADD             R2, PC; unk_125AD8                                     ; +0xa, 0xa411a\nVLDR            S2, [R2,#(dword_125B00 - 0x125AD8)]                    ; +0xc, 0xa411c\nVCMPE.F32       S0, S2                                                 ; +0x10, 0xa4120\nVMRS            APSR_nzcv, FPSCR                                       ; +0x14, 0xa4124\nBLT             loc_A4138                                              ; +0x18, 0xa4128\nVLDR            S2, [R2,#(dword_125B04 - 0x125AD8)]                    ; +0x1a, 0xa412a\nVCMPE.F32       S0, S2                                                 ; +0x1e, 0xa412e\nVMRS            APSR_nzcv, FPSCR                                       ; +0x22, 0xa4132\nBLE             loc_A4140                                              ; +0x26, 0xa4136\nVMOV.F32        S0, S2                                                 ; +0x28, 0xa4138\nVSTR            S2, [R1,#0x18]                                         ; +0x2c, 0xa413c\nADD.W           R2, R0, #0x710                                         ; +0x30, 0xa4140\nVSTR            S0, [R2]                                               ; +0x34, 0xa4144\nBL              sub_A4990                                              ; +0x38, 0xa4148\nMOVS            R0, #0                                                 ; +0x3c, 0xa414c\nPOP             {R7,PC}                                                ; +0x3e, 0xa414e", "xrefs": ["sub_A3C1E @ 0xa3ce2", "sub_A4376 @ 0xa4454"], "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"}