{"type": "func", "start": 564908, "end": 564946, "name": "sub_89EAC", "pseudocode": "// \n// sub_89EAC from 0x89eac to 0x89ed2 (38 bytes)\n// \n// 1 xrefs:\n// > sub_89D34 @ 0x89d42\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_89EAC(int *a1)\n{\n  int result; // r0\n  int i; // r5\n  int v4; // r0\n\n  result = *a1;\n  if ( result )\n  {\n    for ( i = 0; ; ++i )\n    {\n      result = a1[1];\n      if ( i >= result )\n        break;\n      v4 = *(_DWORD *)(*a1 + 4 * i);\n      if ( v4 )\n        (*(void (__fastcall **)(int))(*(_DWORD *)v4 + 8))(v4);\n    }\n  }\n  return result;\n}", "assembly": "; \n; sub_89EAC from 0x89eac to 0x89ed2 (38 bytes)\n; \n; 1 xrefs:\n; > sub_89D34 @ 0x89d42\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, 0x89eac\nADD             R7, SP, #8                                             ; +0x2, 0x89eae\nMOV             R4, R0                                                 ; +0x4, 0x89eb0\nLDR             R0, [R0]                                               ; +0x6, 0x89eb2\nCBZ             R0, locret_89ED0                                       ; +0x8, 0x89eb4\nMOVS            R5, #0                                                 ; +0xa, 0x89eb6\nLDR             R0, [R4,#4]                                            ; +0xc, 0x89eb8\nCMP             R5, R0                                                 ; +0xe, 0x89eba\nBGE             locret_89ED0                                           ; +0x10, 0x89ebc\nLDR             R0, [R4]                                               ; +0x12, 0x89ebe\nLDR.W           R0, [R0,R5,LSL#2]                                      ; +0x14, 0x89ec0\nCBZ             R0, loc_89ECC                                          ; +0x18, 0x89ec4\nLDR             R1, [R0]                                               ; +0x1a, 0x89ec6\nLDR             R1, [R1,#8]                                            ; +0x1c, 0x89ec8\nBLX             R1                                                     ; +0x1e, 0x89eca\nADDS            R5, #1                                                 ; +0x20, 0x89ecc\nB               loc_89EB8                                              ; +0x22, 0x89ece\nPOP             {R4,R5,R7,PC}                                          ; +0x24, 0x89ed0", "xrefs": ["sub_89D34 @ 0x89d42"], "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"}