{"type": "func", "start": 600980, "end": 601088, "name": "sub_92B94", "pseudocode": "// \n// sub_92B94 from 0x92b94 to 0x92c00 (108 bytes)\n// \n// 1 xrefs:\n// > sub_92EF8 @ 0x92efa\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_92B94(int a1, int a2, int a3, int a4)\n{\n  float *v4; // r5\n  int i; // r6\n  int j; // r5\n  int v8; // r0\n  _DWORD *v9; // r0\n  int result; // r0\n\n  v4 = (float *)(a1 + 796);\n  for ( i = 0; i != 0x2000; ++i )\n    *v4++ = cosf((float)i * 0.00019175);\n  for ( j = 0; ; ++j )\n  {\n    v8 = *(_DWORD *)(a1 + 164);\n    if ( j >= *(_DWORD *)(v8 + 72) )\n      break;\n    v9 = *(_DWORD **)(*(_DWORD *)(v8 + 76) + 4 * j);\n    if ( *v9 == 1 )\n    {\n      result = sub_AB28A(a1, j, v9[12], a4);\n      if ( result )\n        return result;\n    }\n  }\n  return 0;\n}", "assembly": "; \n; sub_92B94 from 0x92b94 to 0x92c00 (108 bytes)\n; \n; 1 xrefs:\n; > sub_92EF8 @ 0x92efa\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, 0x92b94\nADD             R7, SP, #0xC                                           ; +0x2, 0x92b96\nPUSH.W          {R11}                                                  ; +0x4, 0x92b98\nVPUSH           {D8}                                                   ; +0x8, 0x92b9c\nADD.W           R5, R0, #0x31C                                         ; +0xc, 0x92ba0\nVLDR            S16, =0.00019175                                       ; +0x10, 0x92ba4\nMOV             R4, R0                                                 ; +0x14, 0x92ba8\nMOVS            R6, #0                                                 ; +0x16, 0x92baa\nCMP.W           R6, #0x2000                                            ; +0x18, 0x92bac\nBEQ             loc_92BCC                                              ; +0x1c, 0x92bb0\nVMOV            S0, R6                                                 ; +0x1e, 0x92bb2\nVCVT.F32.S32    S0, S0                                                 ; +0x22, 0x92bb6\nVMUL.F32        S0, S0, S16                                            ; +0x26, 0x92bba\nVMOV            R0, S0; x                                              ; +0x2a, 0x92bbe\nBLX             cosf                                                   ; +0x2e, 0x92bc2\nSTM             R5!, {R0}                                              ; +0x32, 0x92bc6\nADDS            R6, #1                                                 ; +0x34, 0x92bc8\nB               loc_92BAC                                              ; +0x36, 0x92bca\nMOVS            R5, #0                                                 ; +0x38, 0x92bcc\nLDR.W           R0, [R4,#0xA4]                                         ; +0x3a, 0x92bce\nLDR             R1, [R0,#0x48]                                         ; +0x3e, 0x92bd2\nCMP             R5, R1                                                 ; +0x40, 0x92bd4\nBGE             loc_92BF4                                              ; +0x42, 0x92bd6\nLDR             R0, [R0,#0x4C]                                         ; +0x44, 0x92bd8\nLDR.W           R0, [R0,R5,LSL#2]                                      ; +0x46, 0x92bda\nLDR             R1, [R0]                                               ; +0x4a, 0x92bde\nCMP             R1, #1                                                 ; +0x4c, 0x92be0\nBNE             loc_92BF0                                              ; +0x4e, 0x92be2\nLDR             R2, [R0,#0x30]                                         ; +0x50, 0x92be4\nMOV             R0, R4                                                 ; +0x52, 0x92be6\nMOV             R1, R5                                                 ; +0x54, 0x92be8\nBL              sub_AB28A                                              ; +0x56, 0x92bea\nCBNZ            R0, loc_92BF6                                          ; +0x5a, 0x92bee\nADDS            R5, #1                                                 ; +0x5c, 0x92bf0\nB               loc_92BCE                                              ; +0x5e, 0x92bf2\nMOVS            R0, #0                                                 ; +0x60, 0x92bf4\nVPOP            {D8}                                                   ; +0x62, 0x92bf6\nPOP.W           {R11}                                                  ; +0x66, 0x92bfa\nPOP             {R4-R7,PC}                                             ; +0x6a, 0x92bfe", "xrefs": ["sub_92EF8 @ 0x92efa"], "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"}