{"type": "func", "start": 710792, "end": 710884, "name": "sub_AD888", "pseudocode": "// \n// sub_AD888 from 0xad888 to 0xad8e4 (92 bytes)\n// \n// 3 xrefs:\n// > sub_AD1C0 @ 0xad1cc\n// > sub_AD73C @ 0xad86c\n// > sub_AD938 @ 0xadb10\n// \n// This function is hookable on this platform (idp: arm, 32 bit: False, 64 bit: True!\n// \n// Using BromaIDA 8.3.0 @ https://github.com/Stazzical/BromaIDA\n// Using bindings at commit 1c6ec395 at Thu Nov 26 21:29:22 2026 from https://github.com/geode-sdk/bindings\n// Generated at Fri, 27 Nov 2026 12:14:35 +0000\n// \n\n__int64 __fastcall sub_AD888(__int64 a1)\n{\n  __int64 v1; // x8\n  int v2; // w10\n\n  v1 = 0;\n  *(_DWORD *)(a1 + 768) = 0;\n  while ( v1 != 64 )\n  {\n    v2 = *(_DWORD *)(a1 + v1 + 680);\n    if ( v2 )\n      v2 = *(_DWORD *)(a1 + 764) - v2;\n    *(_DWORD *)(a1 + v1 + 772) = v2;\n    v1 += 4;\n  }\n  if ( *(_QWORD *)(a1 + 744) )\n    memset(*(void **)(a1 + 744), 0, *(unsigned int *)(a1 + 760));\n  return 0;\n}", "assembly": "; \n; sub_AD888 from 0xad888 to 0xad8e4 (92 bytes)\n; \n; 3 xrefs:\n; > sub_AD1C0 @ 0xad1cc\n; > sub_AD73C @ 0xad86c\n; > sub_AD938 @ 0xadb10\n; \n; This function is hookable on this platform (idp: arm, 32 bit: False, 64 bit: True!\n; \n; Using BromaIDA 8.3.0 @ https://github.com/Stazzical/BromaIDA\n; Using bindings at commit 1c6ec395 at Thu Nov 26 21:29:22 2026 from https://github.com/geode-sdk/bindings\n; Generated at Fri, 27 Nov 2026 12:14:35 +0000\n; \nSTP             X29, X30, [SP,#-0x10+var_s0]!                          ; +0x0, 0xad888\nMOV             X8, XZR                                                ; +0x4, 0xad88c\nMOV             X29, SP                                                ; +0x8, 0xad890\nSTR             WZR, [X0,#0x300]                                       ; +0xc, 0xad894\nCMP             X8, #0x40 ; '@'                                        ; +0x10, 0xad898\nB.EQ            loc_AD8C0                                              ; +0x14, 0xad89c\nADD             X9, X0, X8                                             ; +0x18, 0xad8a0\nLDR             W10, [X9,#0x2A8]                                       ; +0x1c, 0xad8a4\nCBZ             W10, loc_AD8B4                                         ; +0x20, 0xad8a8\nLDR             W11, [X0,#0x2FC]                                       ; +0x24, 0xad8ac\nSUB             W10, W11, W10                                          ; +0x28, 0xad8b0\nSTR             W10, [X9,#0x304]                                       ; +0x2c, 0xad8b4\nADD             X8, X8, #4                                             ; +0x30, 0xad8b8\nB               loc_AD898                                              ; +0x34, 0xad8bc\nLDR             X8, [X0,#0x2E8]                                        ; +0x38, 0xad8c0\nCBZ             X8, loc_AD8D8                                          ; +0x3c, 0xad8c4\nLDR             W2, [X0,#0x2F8]; n                                     ; +0x40, 0xad8c8\nMOV             X0, X8; s                                              ; +0x44, 0xad8cc\nMOV             W1, WZR; c                                             ; +0x48, 0xad8d0\nBL              .memset                                                ; +0x4c, 0xad8d4\nMOV             W0, WZR                                                ; +0x50, 0xad8d8\nLDP             X29, X30, [SP+var_s0],#0x10                            ; +0x54, 0xad8dc\nRET                                                                    ; +0x58, 0xad8e0", "xrefs": ["sub_AD1C0 @ 0xad1cc", "sub_AD73C @ 0xad86c", "sub_AD938 @ 0xadb10"], "is_objc": false, "is_32_bit": false, "is_64_bit": true, "idp_name": "arm", "bida_info": "8.3.0 @ https://github.com/Stazzical/BromaIDA", "bindings_info": "commit 1c6ec395 at Thu Nov 26 21:29:22 2026 from https://github.com/geode-sdk/bindings"}