{"type": "func", "start": 602332, "end": 602478, "name": "sub_930DC", "pseudocode": "// \n// sub_930DC from 0x930dc to 0x9316e (146 bytes)\n// \n// 3 xrefs:\n// > sub_93054 @ 0x930c6\n// > sub_931B4 @ 0x93262\n// > sub_936B4 @ 0x936ba\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_930DC(int a1)\n{\n  float *v2; // r5\n  void *v3; // r0\n  float v4; // r0\n  float v5; // s0\n  float v6; // s2\n  float v7; // s0\n  int result; // r0\n  float v9; // r1\n  float v10; // s2\n  float v11; // s0\n\n  *(_DWORD *)(a1 + 412) = 0;\n  *(_DWORD *)(a1 + 416) = 0;\n  v2 = (float *)(a1 + 33208);\n  v3 = *(void **)(a1 + 400);\n  if ( v3 )\n    memset(v3, 0, *(_DWORD *)(a1 + 408));\n  v4 = *v2;\n  *(float *)(a1 + 376) = *v2;\n  v5 = v2[1];\n  *(float *)(a1 + 380) = v5;\n  v6 = v5 * 0.01;\n  v7 = v4;\n  result = 0;\n  *(float *)(a1 + 384) = v6;\n  *(float *)(a1 + 388) = 1.0 - v6;\n  v9 = v2[2];\n  *(float *)(a1 + 392) = v9;\n  v10 = (float)*(int *)(a1 + 432);\n  v11 = (float)((float)(v7 * v7) * 0.02) * v10;\n  if ( v11 < 4.0 )\n    v11 = 4.0;\n  *(float *)(a1 + 420) = v9 / v10;\n  *(float *)(a1 + 424) = v11;\n  *(float *)(a1 + 428) = v11;\n  return result;\n}", "assembly": "; \n; sub_930DC from 0x930dc to 0x9316e (146 bytes)\n; \n; 3 xrefs:\n; > sub_93054 @ 0x930c6\n; > sub_931B4 @ 0x93262\n; > sub_936B4 @ 0x936ba\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,R5,R7,LR}                                          ; +0x0, 0x930dc\nADD             R7, SP, #8                                             ; +0x2, 0x930de\nMOV             R4, R0                                                 ; +0x4, 0x930e0\nMOVS            R0, #0                                                 ; +0x6, 0x930e2\nSTRD.W          R0, R0, [R4,#0x19C]                                    ; +0x8, 0x930e4\nMOVW            R0, #0x81B8                                            ; +0xc, 0x930e8\nADDS            R5, R4, R0                                             ; +0x10, 0x930ec\nLDR.W           R0, [R4,#0x190]                                        ; +0x12, 0x930ee\nCBZ             R0, loc_930FC                                          ; +0x16, 0x930f2\nLDR.W           R1, [R4,#0x198]                                        ; +0x18, 0x930f4\nBLX             __aeabi_memclr                                         ; +0x1c, 0x930f8\nLDR             R0, [R5]                                               ; +0x20, 0x930fc\nVMOV.F32        S4, #1.0                                               ; +0x22, 0x930fe\nSTR.W           R0, [R4,#0x178]                                        ; +0x26, 0x93102\nVLDR            S0, [R5,#4]                                            ; +0x2a, 0x93106\nVLDR            S2, =0.01                                              ; +0x2e, 0x9310a\nVSTR            S0, [R4,#0x17C]                                        ; +0x32, 0x9310e\nVMUL.F32        S2, S0, S2                                             ; +0x36, 0x93112\nVMOV            S0, R0                                                 ; +0x3a, 0x93116\nMOVS            R0, #0                                                 ; +0x3e, 0x9311a\nVMUL.F32        S0, S0, S0                                             ; +0x40, 0x9311c\nVSUB.F32        S4, S4, S2                                             ; +0x44, 0x93120\nVSTR            S2, [R4,#0x180]                                        ; +0x48, 0x93124\nVLDR            S2, =0.02                                              ; +0x4c, 0x93128\nVMUL.F32        S0, S0, S2                                             ; +0x50, 0x9312c\nVSTR            S4, [R4,#0x184]                                        ; +0x54, 0x93130\nVMOV.F32        S4, #4.0                                               ; +0x58, 0x93134\nLDR             R1, [R5,#8]                                            ; +0x5c, 0x93138\nSTR.W           R1, [R4,#0x188]                                        ; +0x5e, 0x9313a\nVLDR            S2, [R4,#0x1B0]                                        ; +0x62, 0x9313e\nVCVT.F32.S32    S2, S2                                                 ; +0x66, 0x93142\nVMUL.F32        S0, S0, S2                                             ; +0x6a, 0x93146\nVCMPE.F32       S0, S4                                                 ; +0x6e, 0x9314a\nVMRS            APSR_nzcv, FPSCR                                       ; +0x72, 0x9314e\nIT LT                                                                  ; +0x76, 0x93152\nVMOVLT.F32      S0, S4                                                 ; +0x78, 0x93154\nVMOV            S4, R1                                                 ; +0x7c, 0x93158\nVDIV.F32        S2, S4, S2                                             ; +0x80, 0x9315c\nVSTR            S2, [R4,#0x1A4]                                        ; +0x84, 0x93160\nVSTR            S0, [R4,#0x1A8]                                        ; +0x88, 0x93164\nVSTR            S0, [R4,#0x1AC]                                        ; +0x8c, 0x93168\nPOP             {R4,R5,R7,PC}                                          ; +0x90, 0x9316c", "xrefs": ["sub_93054 @ 0x930c6", "sub_931B4 @ 0x93262", "sub_936B4 @ 0x936ba"], "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"}