{"type": "func", "start": 620534, "end": 620576, "name": "sub_977F6", "pseudocode": "// \n// sub_977F6 from 0x977f6 to 0x97820 (42 bytes)\n// \n// 1 xrefs:\n// > sub_978B4 @ 0x978ba\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:29 +0000\n// \n\nint __fastcall sub_977F6(float *a1, int a2, float a3)\n{\n  float v3; // s2\n\n  if ( a2 == 1 )\n  {\n    a1[249] = a3;\n  }\n  else if ( !a2 )\n  {\n    a1[250] = a3;\n    v3 = a1[96];\n    if ( v3 <= a3 )\n      a1[250] = v3;\n  }\n  return 0;\n}", "assembly": "; \n; sub_977F6 from 0x977f6 to 0x97820 (42 bytes)\n; \n; 1 xrefs:\n; > sub_978B4 @ 0x978ba\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:29 +0000\n; \nVMOV            S0, R2                                                 ; +0x0, 0x977f6\nCMP             R1, #1                                                 ; +0x4, 0x977fa\nBEQ             loc_97818                                              ; +0x6, 0x977fc\nCBNZ            R1, loc_9781C                                          ; +0x8, 0x977fe\nVSTR            S0, [R0,#0x3E8]                                        ; +0xa, 0x97800\nVLDR            S2, [R0,#0x180]                                        ; +0xe, 0x97804\nVCMPE.F32       S2, S0                                                 ; +0x12, 0x97808\nVMRS            APSR_nzcv, FPSCR                                       ; +0x16, 0x9780c\nIT LE                                                                  ; +0x1a, 0x97810\nVSTRLE          S2, [R0,#0x3E8]                                        ; +0x1c, 0x97812\nB               loc_9781C                                              ; +0x20, 0x97816\nVSTR            S0, [R0,#0x3E4]                                        ; +0x22, 0x97818\nMOVS            R0, #0                                                 ; +0x26, 0x9781c\nBX              LR                                                     ; +0x28, 0x9781e", "xrefs": ["sub_978B4 @ 0x978ba"], "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"}