{"type": "func", "start": 326700, "end": 326858, "name": "sub_4FC2C", "pseudocode": "// \n// sub_4FC2C from 0x4fc2c to 0x4fcca (158 bytes)\n// \n// 5 xrefs:\n// > sub_50190 @ 0x501a4\n// > sub_50190 @ 0x501b4\n// > sub_50190 @ 0x501d4\n// > sub_50190 @ 0x501ec\n// > sub_502EC @ 0x50316\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:40:43 +0000\n// \n\nfloat *__fastcall sub_4FC2C(float *result, float *a2, float *a3)\n{\n  float v3; // s2\n  float v4; // s2\n  float v5; // s2\n  float v6; // s2\n  float v7; // s2\n  float v8; // s2\n\n  v3 = *a2;\n  if ( *result < *a2 )\n    v3 = *result;\n  *a3 = v3;\n  v4 = a2[1];\n  if ( result[1] > v4 )\n    v4 = result[1];\n  a3[1] = v4;\n  v5 = a2[2];\n  if ( result[2] < v5 )\n    v5 = result[2];\n  a3[2] = v5;\n  v6 = a2[3];\n  if ( result[3] > v6 )\n    v6 = result[3];\n  a3[3] = v6;\n  v7 = a2[4];\n  if ( result[4] < v7 )\n    v7 = result[4];\n  a3[4] = v7;\n  v8 = a2[5];\n  if ( result[5] > v8 )\n    v8 = result[5];\n  a3[5] = v8;\n  return result;\n}", "assembly": "; \n; sub_4FC2C from 0x4fc2c to 0x4fcca (158 bytes)\n; \n; 5 xrefs:\n; > sub_50190 @ 0x501a4\n; > sub_50190 @ 0x501b4\n; > sub_50190 @ 0x501d4\n; > sub_50190 @ 0x501ec\n; > sub_502EC @ 0x50316\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:40:43 +0000\n; \nVLDR            S0, [R0]                                               ; +0x0, 0x4fc2c\nVLDR            S2, [R1]                                               ; +0x4, 0x4fc30\nVCMPE.F32       S0, S2                                                 ; +0x8, 0x4fc34\nVMRS            APSR_nzcv, FPSCR                                       ; +0xc, 0x4fc38\nIT LT                                                                  ; +0x10, 0x4fc3c\nVMOVLT.F32      S2, S0                                                 ; +0x12, 0x4fc3e\nVSTR            S2, [R2]                                               ; +0x16, 0x4fc42\nVLDR            S0, [R0,#4]                                            ; +0x1a, 0x4fc46\nVLDR            S2, [R1,#4]                                            ; +0x1e, 0x4fc4a\nVCMPE.F32       S0, S2                                                 ; +0x22, 0x4fc4e\nVMRS            APSR_nzcv, FPSCR                                       ; +0x26, 0x4fc52\nIT GT                                                                  ; +0x2a, 0x4fc56\nVMOVGT.F32      S2, S0                                                 ; +0x2c, 0x4fc58\nVSTR            S2, [R2,#4]                                            ; +0x30, 0x4fc5c\nVLDR            S0, [R0,#8]                                            ; +0x34, 0x4fc60\nVLDR            S2, [R1,#8]                                            ; +0x38, 0x4fc64\nVCMPE.F32       S0, S2                                                 ; +0x3c, 0x4fc68\nVMRS            APSR_nzcv, FPSCR                                       ; +0x40, 0x4fc6c\nIT LT                                                                  ; +0x44, 0x4fc70\nVMOVLT.F32      S2, S0                                                 ; +0x46, 0x4fc72\nVSTR            S2, [R2,#8]                                            ; +0x4a, 0x4fc76\nVLDR            S0, [R0,#0xC]                                          ; +0x4e, 0x4fc7a\nVLDR            S2, [R1,#0xC]                                          ; +0x52, 0x4fc7e\nVCMPE.F32       S0, S2                                                 ; +0x56, 0x4fc82\nVMRS            APSR_nzcv, FPSCR                                       ; +0x5a, 0x4fc86\nIT GT                                                                  ; +0x5e, 0x4fc8a\nVMOVGT.F32      S2, S0                                                 ; +0x60, 0x4fc8c\nVSTR            S2, [R2,#0xC]                                          ; +0x64, 0x4fc90\nVLDR            S0, [R0,#0x10]                                         ; +0x68, 0x4fc94\nVLDR            S2, [R1,#0x10]                                         ; +0x6c, 0x4fc98\nVCMPE.F32       S0, S2                                                 ; +0x70, 0x4fc9c\nVMRS            APSR_nzcv, FPSCR                                       ; +0x74, 0x4fca0\nIT LT                                                                  ; +0x78, 0x4fca4\nVMOVLT.F32      S2, S0                                                 ; +0x7a, 0x4fca6\nVSTR            S2, [R2,#0x10]                                         ; +0x7e, 0x4fcaa\nVLDR            S0, [R0,#0x14]                                         ; +0x82, 0x4fcae\nVLDR            S2, [R1,#0x14]                                         ; +0x86, 0x4fcb2\nVCMPE.F32       S0, S2                                                 ; +0x8a, 0x4fcb6\nVMRS            APSR_nzcv, FPSCR                                       ; +0x8e, 0x4fcba\nIT GT                                                                  ; +0x92, 0x4fcbe\nVMOVGT.F32      S2, S0                                                 ; +0x94, 0x4fcc0\nVSTR            S2, [R2,#0x14]                                         ; +0x98, 0x4fcc4\nBX              LR                                                     ; +0x9c, 0x4fcc8", "xrefs": ["sub_50190 @ 0x501a4", "sub_50190 @ 0x501b4", "sub_50190 @ 0x501d4", "sub_50190 @ 0x501ec", "sub_502EC @ 0x50316"], "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"}