{"type": "func", "start": 608164, "end": 608220, "name": "sub_947A4", "pseudocode": "// \n// sub_947A4 from 0x947a4 to 0x947dc (56 bytes)\n// \n// 1 xrefs:\n// > sub_91BFC @ 0x91bfc\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\n__int64 __fastcall sub_947A4(__int64 a1, _DWORD *a2)\n{\n  int v2; // w8\n  __int64 v3; // x10\n  __int64 v4; // x11\n\n  if ( !a2 )\n    return 31;\n  v2 = 0;\n  v3 = -14208;\n  do\n  {\n    v4 = *(_QWORD *)(a1 + 1088 + v3 + 14208);\n    v3 += 888;\n    if ( v4 )\n      ++v2;\n  }\n  while ( v3 );\n  *a2 = v2;\n  return 0;\n}", "assembly": "; \n; sub_947A4 from 0x947a4 to 0x947dc (56 bytes)\n; \n; 1 xrefs:\n; > sub_91BFC @ 0x91bfc\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\nCBZ             X1, loc_947D4                                          ; +0x0, 0x947a4\nMOV             W8, WZR                                                ; +0x4, 0x947a8\nADD             X9, X0, #0x440                                         ; +0x8, 0x947ac\nMOV             X10, #0xFFFFFFFFFFFFC880                               ; +0xc, 0x947b0\nCBZ             X10, loc_947D0                                         ; +0x10, 0x947b4\nADD             X11, X9, X10                                           ; +0x14, 0x947b8\nLDR             X11, [X11,#0x3780]                                     ; +0x18, 0x947bc\nADD             X10, X10, #0x378                                       ; +0x1c, 0x947c0\nCMP             X11, #0                                                ; +0x20, 0x947c4\nCINC            W8, W8, NE                                             ; +0x24, 0x947c8\nCBNZ            X10, loc_947B8                                         ; +0x28, 0x947cc\nB               loc_948A0                                              ; +0x2c, 0x947d0\nMOV             W0, #0x1F                                              ; +0x30, 0x947d4\nRET                                                                    ; +0x34, 0x947d8", "xrefs": ["sub_91BFC @ 0x91bfc"], "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"}