{"type": "func", "start": 489872, "end": 489930, "name": "sub_77990", "pseudocode": "// \n// sub_77990 from 0x77990 to 0x779ca (58 bytes)\n// \n// 0 xrefs:\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_77990(int a1, unsigned int a2, float a3)\n{\n  int result; // r0\n\n  result = 31;\n  if ( a3 <= 1.0 && a2 <= 0xF && a3 >= 0.0 )\n  {\n    *(float *)(a1 + 672 * a2 + 1360) = a3;\n    return 0;\n  }\n  return result;\n}", "assembly": "; \n; sub_77990 from 0x77990 to 0x779ca (58 bytes)\n; \n; 0 xrefs:\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\nVMOV.F32        S2, #1.0                                               ; +0x0, 0x77990\nMOV             R3, R0                                                 ; +0x4, 0x77994\nVMOV            S0, R2                                                 ; +0x6, 0x77996\nMOVS            R0, #0x1F                                              ; +0xa, 0x7799a\nVCMPE.F32       S0, S2                                                 ; +0xc, 0x7799c\nVMRS            APSR_nzcv, FPSCR                                       ; +0x10, 0x779a0\nBGT             locret_779C8                                           ; +0x14, 0x779a4\nCMP             R1, #0xF                                               ; +0x16, 0x779a6\nBHI             locret_779C8                                           ; +0x18, 0x779a8\nVCMPE.F32       S0, #0.0                                               ; +0x1a, 0x779aa\nVMRS            APSR_nzcv, FPSCR                                       ; +0x1e, 0x779ae\nITTTT GE                                                               ; +0x22, 0x779b2\nMOVGE.W         R0, #0x2A0                                             ; +0x24, 0x779b4\nMLAGE           R0, R1, R0, R3                                         ; +0x28, 0x779b8\nADDGE.W         R0, R0, #0x550                                         ; +0x2c, 0x779bc\nVSTRGE          S0, [R0]                                               ; +0x30, 0x779c0\nIT GE                                                                  ; +0x34, 0x779c4\nMOVGE           R0, #0                                                 ; +0x36, 0x779c6\nBX              LR                                                     ; +0x38, 0x779c8", "xrefs": [], "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"}