{"type": "func", "start": 598660, "end": 598784, "name": "sub_92284", "pseudocode": "// \n// sub_92284 from 0x92284 to 0x92300 (124 bytes)\n// \n// 1 xrefs:\n// > sub_923F0 @ 0x923f2\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_92284(int a1, int a2, _DWORD *a3, _DWORD *a4, _BYTE *a5)\n{\n  int v5; // r4\n  float v7; // s16\n  float v10; // r0\n  float v11; // s4\n\n  if ( a2 != 1 )\n    return 31;\n  v5 = 0;\n  *(_DWORD *)(a1 + 516) = 0;\n  v7 = *(float *)(a1 + 392);\n  v10 = powf(10.0, v7 * 0.05);\n  v11 = 0.0;\n  if ( v7 > -80.0 )\n    v11 = v10;\n  *(float *)(a1 + 512) = v11;\n  *a3 = a1 + 512;\n  *a4 = 8;\n  if ( a5 )\n    *a5 = 0;\n  return v5;\n}", "assembly": "; \n; sub_92284 from 0x92284 to 0x92300 (124 bytes)\n; \n; 1 xrefs:\n; > sub_923F0 @ 0x923f2\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            {R4-R7,LR}                                             ; +0x0, 0x92284\nADD             R7, SP, #0xC                                           ; +0x2, 0x92286\nPUSH.W          {R8,R9,R11}                                            ; +0x4, 0x92288\nVPUSH           {D8}                                                   ; +0x8, 0x9228c\nCMP             R1, #1                                                 ; +0xc, 0x92290\nBNE             loc_922F2                                              ; +0xe, 0x92292\nMOVS            R4, #0                                                 ; +0x10, 0x92294\nVLDR            S0, =0.05                                              ; +0x12, 0x92296\nSTR.W           R4, [R0,#0x204]                                        ; +0x16, 0x9229a\nMOV             R5, R0                                                 ; +0x1a, 0x9229e\nVLDR            S16, [R0,#0x188]                                       ; +0x1c, 0x922a0\nMOV             R8, R3                                                 ; +0x20, 0x922a4\nLDR             R0, flt_92304; x                                       ; +0x22, 0x922a6\nMOV             R6, R2                                                 ; +0x24, 0x922a8\nVMUL.F32        S0, S16, S0                                            ; +0x26, 0x922aa\nLDR.W           R9, [R7,#-0x20+arg_0]                                  ; +0x2a, 0x922ae\nVMOV            R1, S0; y                                              ; +0x2e, 0x922b2\nBLX             powf                                                   ; +0x32, 0x922b6\nVLDR            S2, =-80.0                                             ; +0x36, 0x922ba\nVMOV            S0, R0                                                 ; +0x3a, 0x922be\nVLDR            S4, =0.0                                               ; +0x3e, 0x922c2\nADD.W           R0, R5, #0x200                                         ; +0x42, 0x922c6\nVCMPE.F32       S16, S2                                                ; +0x46, 0x922ca\nVMRS            APSR_nzcv, FPSCR                                       ; +0x4a, 0x922ce\nIT GT                                                                  ; +0x4e, 0x922d2\nVMOVGT.F32      S4, S0                                                 ; +0x50, 0x922d4\nVSTR            S4, [R5,#0x200]                                        ; +0x54, 0x922d8\nCMP.W           R9, #0                                                 ; +0x58, 0x922dc\nSTR             R0, [R6]                                               ; +0x5c, 0x922e0\nMOV.W           R0, #8                                                 ; +0x5e, 0x922e2\nSTR.W           R0, [R8]                                               ; +0x62, 0x922e6\nIT NE                                                                  ; +0x66, 0x922ea\nSTRBNE.W        R4, [R9]                                               ; +0x68, 0x922ec\nB               loc_922F4                                              ; +0x6c, 0x922f0\nMOVS            R4, #0x1F                                              ; +0x6e, 0x922f2\nMOV             R0, R4                                                 ; +0x70, 0x922f4\nVPOP            {D8}                                                   ; +0x72, 0x922f6\nPOP.W           {R8,R9,R11}                                            ; +0x76, 0x922fa\nPOP             {R4-R7,PC}                                             ; +0x7a, 0x922fe", "xrefs": ["sub_923F0 @ 0x923f2"], "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"}