{"type": "func", "start": 604088, "end": 604198, "name": "sub_937B8", "pseudocode": "// \n// sub_937B8 from 0x937b8 to 0x93826 (110 bytes)\n// \n// 1 xrefs:\n// > sub_94254 @ 0x94256\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_937B8(int a1)\n{\n  int v2; // r5\n  int v3; // r0\n  int result; // r0\n\n  v2 = 0;\n  *(float *)(a1 + 380) = (float)((float)*(int *)(*(_DWORD *)(a1 + 128) + 1184) * 0.5) + -10.0;\n  while ( 1 )\n  {\n    v3 = *(_DWORD *)(a1 + 164);\n    if ( v2 >= *(_DWORD *)(v3 + 72) )\n      break;\n    result = sub_AB218(a1, v2, *(_DWORD *)(*(_DWORD *)(*(_DWORD *)(v3 + 76) + 4 * v2) + 48));\n    ++v2;\n    if ( result )\n      return result;\n  }\n  sub_93826(a1);\n  *(_DWORD *)(a1 + 384) = *(_DWORD *)(a1 + 928);\n  *(_DWORD *)(a1 + 376) = *(_DWORD *)(a1 + 924);\n  sub_93848(a1);\n  return 0;\n}", "assembly": "; \n; sub_937B8 from 0x937b8 to 0x93826 (110 bytes)\n; \n; 1 xrefs:\n; > sub_94254 @ 0x94256\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, 0x937b8\nADD             R7, SP, #8                                             ; +0x2, 0x937ba\nMOV             R4, R0                                                 ; +0x4, 0x937bc\nLDR.W           R0, [R0,#0x80]                                         ; +0x6, 0x937be\nVMOV.F32        S2, #0.5                                               ; +0xa, 0x937c2\nMOVS            R5, #0                                                 ; +0xe, 0x937c6\nADD.W           R0, R0, #0x4A0                                         ; +0x10, 0x937c8\nVMOV.F32        S4, #-10.0                                             ; +0x14, 0x937cc\nVLDR            S0, [R0]                                               ; +0x18, 0x937d0\nVCVT.F32.S32    S0, S0                                                 ; +0x1c, 0x937d4\nVMLA.F32        S4, S0, S2                                             ; +0x20, 0x937d8\nVSTR            S4, [R4,#0x17C]                                        ; +0x24, 0x937dc\nLDR.W           R0, [R4,#0xA4]                                         ; +0x28, 0x937e0\nLDR             R1, [R0,#0x48]                                         ; +0x2c, 0x937e4\nCMP             R5, R1                                                 ; +0x2e, 0x937e6\nBGE             loc_93802                                              ; +0x30, 0x937e8\nLDR             R0, [R0,#0x4C]                                         ; +0x32, 0x937ea\nMOV             R1, R5                                                 ; +0x34, 0x937ec\nLDR.W           R0, [R0,R5,LSL#2]                                      ; +0x36, 0x937ee\nLDR             R2, [R0,#0x30]                                         ; +0x3a, 0x937f2\nMOV             R0, R4                                                 ; +0x3c, 0x937f4\nBL              sub_AB218                                              ; +0x3e, 0x937f6\nADDS            R5, #1                                                 ; +0x42, 0x937fa\nCMP             R0, #0                                                 ; +0x44, 0x937fc\nBEQ             loc_937E0                                              ; +0x46, 0x937fe\nPOP             {R4,R5,R7,PC}                                          ; +0x48, 0x93800\nMOV             R0, R4                                                 ; +0x4a, 0x93802\nBL              sub_93826                                              ; +0x4c, 0x93804\nLDR.W           R1, [R4,#0x3A0]                                        ; +0x50, 0x93808\nMOV             R0, R4                                                 ; +0x54, 0x9380c\nSTR.W           R1, [R4,#0x180]                                        ; +0x56, 0x9380e\nVLDR            S0, [R4,#0x39C]                                        ; +0x5a, 0x93812\nVMOV            R2, S0                                                 ; +0x5e, 0x93816\nVSTR            S0, [R4,#0x178]                                        ; +0x62, 0x9381a\nBL              sub_93848                                              ; +0x66, 0x9381e\nMOVS            R0, #0                                                 ; +0x6a, 0x93822\nPOP             {R4,R5,R7,PC}                                          ; +0x6c, 0x93824", "xrefs": ["sub_94254 @ 0x94256"], "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"}