{"type": "func", "start": 535164, "end": 535256, "name": "sub_82A7C", "pseudocode": "// \n// sub_82A7C from 0x82a7c to 0x82ad8 (92 bytes)\n// \n// 2 xrefs:\n// > sub_8295C @ 0x829b0\n// > sub_82AD8 @ 0x82b00\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:08 +0000\n// \n\n__int64 sub_82A7C()\n{\n  __int64 v0; // x19\n  int v1; // w21\n  unsigned int v2; // w0\n  unsigned int v3; // w20\n  _BYTE v5[32]; // [xsp+0h] [xbp-40h] BYREF\n\n  sub_839E8();\n  v1 = -1;\n  v5[8] = 1;\n  while ( ++v1 < *(_DWORD *)(v0 + 56) )\n  {\n    v2 = sub_E71C0(*(_QWORD *)(v0 + 40));\n    if ( v2 )\n    {\n      v3 = v2;\n      goto LABEL_6;\n    }\n  }\n  v3 = 0;\n  *(_DWORD *)(v0 + 56) = 0;\nLABEL_6:\n  sub_52090((__int64)v5);\n  return v3;\n}", "assembly": "; \n; sub_82A7C from 0x82a7c to 0x82ad8 (92 bytes)\n; \n; 2 xrefs:\n; > sub_8295C @ 0x829b0\n; > sub_82AD8 @ 0x82b00\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:08 +0000\n; \nSUB             SP, SP, #0x40                                          ; +0x0, 0x82a7c\nSTP             X20, X19, [SP,#0x40+var_20]                            ; +0x4, 0x82a80\nSTP             X29, X30, [SP,#0x40+var_10]                            ; +0x8, 0x82a84\nBL              sub_839E8                                              ; +0xc, 0x82a88\nMOV             W8, #1                                                 ; +0x10, 0x82a8c\nMOV             W21, #0xFFFFFFFF                                       ; +0x14, 0x82a90\nSTRB            W8, [SP,#0x40+var_38]                                  ; +0x18, 0x82a94\nLDR             W8, [X19,#0x38]                                        ; +0x1c, 0x82a98\nADD             W21, W21, #1                                           ; +0x20, 0x82a9c\nCMP             W21, W8                                                ; +0x24, 0x82aa0\nB.GE            loc_82ABC                                              ; +0x28, 0x82aa4\nLDR             X0, [X19,#0x28]                                        ; +0x2c, 0x82aa8\nBL              sub_E71C0                                              ; +0x30, 0x82aac\nCBZ             W0, loc_82A98                                          ; +0x34, 0x82ab0\nMOV             W20, W0                                                ; +0x38, 0x82ab4\nB               loc_82AC4                                              ; +0x3c, 0x82ab8\nMOV             W20, WZR                                               ; +0x40, 0x82abc\nSTR             WZR, [X19,#0x38]                                       ; +0x44, 0x82ac0\nMOV             X0, SP                                                 ; +0x48, 0x82ac4\nBL              sub_52090                                              ; +0x4c, 0x82ac8\nMOV             W0, W20                                                ; +0x50, 0x82acc\nLDP             X29, X30, [SP,#0x40+var_10]                            ; +0x54, 0x82ad0\nB               loc_83A2C                                              ; +0x58, 0x82ad4", "xrefs": ["sub_8295C @ 0x829b0", "sub_82AD8 @ 0x82b00"], "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"}