{"type": "func", "start": 611260, "end": 611442, "name": "sub_953BC", "pseudocode": "// \n// sub_953BC from 0x953bc to 0x95472 (182 bytes)\n// \n// 1 xrefs:\n// > sub_955E8 @ 0x955ea\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:27 +0000\n// \n\nint __fastcall sub_953BC(int a1, int a2, float a3)\n{\n  float v5; // r0\n  float v6; // s4\n  float v7; // r0\n  float v8; // s4\n\n  switch ( a2 )\n  {\n    case 2:\n      v5 = powf(10.0, a3 * 0.05);\n      v6 = 0.0;\n      if ( a3 > -80.0 )\n        v6 = v5;\n      *(float *)(a1 + 516) = v6;\n      goto LABEL_11;\n    case 1:\n      v7 = powf(10.0, a3 * 0.05);\n      v8 = 0.0;\n      if ( a3 > -80.0 )\n        v8 = v7;\n      *(float *)(a1 + 512) = v8;\n      goto LABEL_11;\n    case 0:\n      *(float *)(a1 + 508) = a3;\nLABEL_11:\n      *(float *)(a1 + 520) = (float)(*(float *)(a1 + 508) * 0.001)\n                           / (float)((float)(1.0 / (float)*(int *)(a1 + 504)) + (float)(*(float *)(a1 + 508) * 0.001));\n      return 0;\n  }\n  return 31;\n}", "assembly": "; \n; sub_953BC from 0x953bc to 0x95472 (182 bytes)\n; \n; 1 xrefs:\n; > sub_955E8 @ 0x955ea\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:27 +0000\n; \nPUSH            {R4,R6,R7,LR}                                          ; +0x0, 0x953bc\nADD             R7, SP, #8                                             ; +0x2, 0x953be\nVPUSH           {D8}                                                   ; +0x4, 0x953c0\nVMOV            S16, R2                                                ; +0x8, 0x953c4\nMOV             R4, R0                                                 ; +0xc, 0x953c8\nCMP             R1, #2                                                 ; +0xe, 0x953ca\nBEQ             loc_953DC                                              ; +0x10, 0x953cc\nCMP             R1, #1                                                 ; +0x12, 0x953ce\nBEQ             loc_9540E                                              ; +0x14, 0x953d0\nCMP             R1, #0                                                 ; +0x16, 0x953d2\nBNE             loc_9546A                                              ; +0x18, 0x953d4\nVSTR            S16, [R4,#0x1FC]                                       ; +0x1a, 0x953d6\nB               loc_9543E                                              ; +0x1e, 0x953da\nVLDR            S0, =0.05                                              ; +0x20, 0x953dc\nLDR             R0, flt_95478; x                                       ; +0x24, 0x953e0\nVMUL.F32        S0, S16, S0                                            ; +0x26, 0x953e2\nVMOV            R1, S0; y                                              ; +0x2a, 0x953e6\nBLX             powf                                                   ; +0x2e, 0x953ea\nVLDR            S2, =-80.0                                             ; +0x32, 0x953ee\nVMOV            S0, R0                                                 ; +0x36, 0x953f2\nVLDR            S4, =0.0                                               ; +0x3a, 0x953f6\nVCMPE.F32       S16, S2                                                ; +0x3e, 0x953fa\nVMRS            APSR_nzcv, FPSCR                                       ; +0x42, 0x953fe\nIT GT                                                                  ; +0x46, 0x95402\nVMOVGT.F32      S4, S0                                                 ; +0x48, 0x95404\nVSTR            S4, [R4,#0x204]                                        ; +0x4c, 0x95408\nB               loc_9543E                                              ; +0x50, 0x9540c\nVLDR            S0, =0.05                                              ; +0x52, 0x9540e\nLDR             R0, flt_95478; x                                       ; +0x56, 0x95412\nVMUL.F32        S0, S16, S0                                            ; +0x58, 0x95414\nVMOV            R1, S0; y                                              ; +0x5c, 0x95418\nBLX             powf                                                   ; +0x60, 0x9541c\nVLDR            S2, =-80.0                                             ; +0x64, 0x95420\nVMOV            S0, R0                                                 ; +0x68, 0x95424\nVLDR            S4, =0.0                                               ; +0x6c, 0x95428\nVCMPE.F32       S16, S2                                                ; +0x70, 0x9542c\nVMRS            APSR_nzcv, FPSCR                                       ; +0x74, 0x95430\nIT GT                                                                  ; +0x78, 0x95434\nVMOVGT.F32      S4, S0                                                 ; +0x7a, 0x95436\nVSTR            S4, [R4,#0x200]                                        ; +0x7e, 0x9543a\nVLDR            S0, [R4,#0x1F8]                                        ; +0x82, 0x9543e\nMOVS            R0, #0                                                 ; +0x86, 0x95442\nVLDR            S2, [R4,#0x1FC]                                        ; +0x88, 0x95444\nVLDR            S4, =0.001                                             ; +0x8c, 0x95448\nVCVT.F32.S32    S0, S0                                                 ; +0x90, 0x9544c\nVMUL.F32        S2, S2, S4                                             ; +0x94, 0x95450\nVMOV.F32        S4, #1.0                                               ; +0x98, 0x95454\nVDIV.F32        S0, S4, S0                                             ; +0x9c, 0x95458\nVADD.F32        S0, S0, S2                                             ; +0xa0, 0x9545c\nVDIV.F32        S0, S2, S0                                             ; +0xa4, 0x95460\nVSTR            S0, [R4,#0x208]                                        ; +0xa8, 0x95464\nB               loc_9546C                                              ; +0xac, 0x95468\nMOVS            R0, #0x1F                                              ; +0xae, 0x9546a\nVPOP            {D8}                                                   ; +0xb0, 0x9546c\nPOP             {R4,R6,R7,PC}                                          ; +0xb4, 0x95470", "xrefs": ["sub_955E8 @ 0x955ea"], "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"}