{"type": "func", "start": 560332, "end": 560466, "name": "sub_88CCC", "pseudocode": "// \n// sub_88CCC from 0x88ccc to 0x88d52 (134 bytes)\n// \n// 1 xrefs:\n// > sub_8948C @ 0x8948e\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_88CCC(_DWORD *a1)\n{\n  float *v1; // r5\n  int i; // r6\n  int v4; // r5\n  int v5; // r0\n  int result; // r0\n\n  v1 = (float *)(a1 + 115);\n  for ( i = 0; i != 0x2000; ++i )\n    *v1++ = cosf((float)i * 0.00019175);\n  v4 = 0;\n  a1[108] = *(_DWORD *)(a1[32] + 1184);\n  a1[109] = 0;\n  a1[106] = 0;\n  a1[103] = 0;\n  a1[104] = 0;\n  a1[101] = 0;\n  while ( 1 )\n  {\n    v5 = a1[41];\n    if ( v4 >= *(_DWORD *)(v5 + 72) )\n      break;\n    result = sub_AB218(a1, v4, *(_DWORD *)(*(_DWORD *)(*(_DWORD *)(v5 + 76) + 4 * v4) + 48));\n    ++v4;\n    if ( result )\n      return result;\n  }\n  sub_88D58(a1);\n  return 0;\n}", "assembly": "; \n; sub_88CCC from 0x88ccc to 0x88d52 (134 bytes)\n; \n; 1 xrefs:\n; > sub_8948C @ 0x8948e\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, 0x88ccc\nADD             R7, SP, #0xC                                           ; +0x2, 0x88cce\nPUSH.W          {R11}                                                  ; +0x4, 0x88cd0\nVPUSH           {D8}                                                   ; +0x8, 0x88cd4\nADD.W           R5, R0, #0x1CC                                         ; +0xc, 0x88cd8\nVLDR            S16, =0.00019175                                       ; +0x10, 0x88cdc\nMOV             R4, R0                                                 ; +0x14, 0x88ce0\nMOVS            R6, #0                                                 ; +0x16, 0x88ce2\nCMP.W           R6, #0x2000                                            ; +0x18, 0x88ce4\nBEQ             loc_88D04                                              ; +0x1c, 0x88ce8\nVMOV            S0, R6                                                 ; +0x1e, 0x88cea\nVCVT.F32.S32    S0, S0                                                 ; +0x22, 0x88cee\nVMUL.F32        S0, S0, S16                                            ; +0x26, 0x88cf2\nVMOV            R0, S0; x                                              ; +0x2a, 0x88cf6\nBLX             cosf                                                   ; +0x2e, 0x88cfa\nSTM             R5!, {R0}                                              ; +0x32, 0x88cfe\nADDS            R6, #1                                                 ; +0x34, 0x88d00\nB               loc_88CE4                                              ; +0x36, 0x88d02\nLDR.W           R0, [R4,#0x80]                                         ; +0x38, 0x88d04\nMOVS            R5, #0                                                 ; +0x3c, 0x88d08\nLDR.W           R0, [R0,#0x4A0]                                        ; +0x3e, 0x88d0a\nSTRD.W          R0, R5, [R4,#0x1B0]                                    ; +0x42, 0x88d0e\nSTR.W           R5, [R4,#0x1A8]                                        ; +0x46, 0x88d12\nSTRD.W          R5, R5, [R4,#0x19C]                                    ; +0x4a, 0x88d16\nSTR.W           R5, [R4,#0x194]                                        ; +0x4e, 0x88d1a\nLDR.W           R0, [R4,#0xA4]                                         ; +0x52, 0x88d1e\nLDR             R1, [R0,#0x48]                                         ; +0x56, 0x88d22\nCMP             R5, R1                                                 ; +0x58, 0x88d24\nBGE             loc_88D40                                              ; +0x5a, 0x88d26\nLDR             R0, [R0,#0x4C]                                         ; +0x5c, 0x88d28\nMOV             R1, R5                                                 ; +0x5e, 0x88d2a\nLDR.W           R0, [R0,R5,LSL#2]                                      ; +0x60, 0x88d2c\nLDR             R2, [R0,#0x30]                                         ; +0x64, 0x88d30\nMOV             R0, R4                                                 ; +0x66, 0x88d32\nBL              sub_AB218                                              ; +0x68, 0x88d34\nADDS            R5, #1                                                 ; +0x6c, 0x88d38\nCMP             R0, #0                                                 ; +0x6e, 0x88d3a\nBEQ             loc_88D1E                                              ; +0x70, 0x88d3c\nB               loc_88D48                                              ; +0x72, 0x88d3e\nMOV             R0, R4                                                 ; +0x74, 0x88d40\nBL              sub_88D58                                              ; +0x76, 0x88d42\nMOVS            R0, #0                                                 ; +0x7a, 0x88d46\nVPOP            {D8}                                                   ; +0x7c, 0x88d48\nPOP.W           {R11}                                                  ; +0x80, 0x88d4c\nPOP             {R4-R7,PC}                                             ; +0x84, 0x88d50", "xrefs": ["sub_8948C @ 0x8948e"], "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"}