{"type": "func", "start": 487576, "end": 487716, "name": "sub_77098", "pseudocode": "// \n// sub_77098 from 0x77098 to 0x77124 (140 bytes)\n// \n// 2 xrefs:\n// > sub_6E374 @ 0x6e3d4\n// > sub_CA9C0 @ 0xca9fc\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:02 +0000\n// \n\n__int64 __fastcall sub_77098(__int64 a1, __int64 a2)\n{\n  __int64 v2; // x8\n  _QWORD *v4; // x21\n  _QWORD *v5; // x20\n  __int64 v6; // x8\n  _QWORD *v7; // x22\n  __int64 v9; // [xsp+8h] [xbp-28h] BYREF\n\n  v2 = *(_QWORD *)(a1 + 872);\n  v4 = (_QWORD *)(a1 + 496);\n  if ( v2 )\n    v5 = (_QWORD *)(v2 - 376);\n  else\n    v5 = nullptr;\n  while ( v5 != v4 )\n  {\n    v6 = v5[47];\n    if ( v6 )\n      v7 = (_QWORD *)(v6 - 376);\n    else\n      v7 = nullptr;\n    sub_5C1CC((__int64)v5, &v9);\n    if ( v9 == a2 )\n      (*(void (__fastcall **)(_QWORD *))(*v5 + 8LL))(v5);\n    v5 = v7;\n  }\n  return 0;\n}", "assembly": "; \n; sub_77098 from 0x77098 to 0x77124 (140 bytes)\n; \n; 2 xrefs:\n; > sub_6E374 @ 0x6e3d4\n; > sub_CA9C0 @ 0xca9fc\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:02 +0000\n; \nSUB             SP, SP, #0x40                                          ; +0x0, 0x77098\nSTP             X22, X21, [SP,#0x30+var_20]                            ; +0x4, 0x7709c\nSTP             X20, X19, [SP,#0x30+var_10]                            ; +0x8, 0x770a0\nSTP             X29, X30, [SP,#0x30+var_s0]                            ; +0xc, 0x770a4\nLDR             X8, [X0,#0x368]                                        ; +0x10, 0x770a8\nMOV             X19, X1                                                ; +0x14, 0x770ac\nADD             X21, X0, #0x1F0                                        ; +0x18, 0x770b0\nADD             X29, SP, #0x30                                         ; +0x1c, 0x770b4\nSUB             X9, X8, #0x178                                         ; +0x20, 0x770b8\nCMP             X8, #0                                                 ; +0x24, 0x770bc\nCSEL            X20, XZR, X9, EQ                                       ; +0x28, 0x770c0\nCMP             X20, X21                                               ; +0x2c, 0x770c4\nB.EQ            loc_7710C                                              ; +0x30, 0x770c8\nLDR             X8, [X20,#0x178]                                       ; +0x34, 0x770cc\nADD             X1, SP, #0x30+var_28                                   ; +0x38, 0x770d0\nMOV             X0, X20                                                ; +0x3c, 0x770d4\nSUB             X9, X8, #0x178                                         ; +0x40, 0x770d8\nCMP             X8, #0                                                 ; +0x44, 0x770dc\nCSEL            X22, XZR, X9, EQ                                       ; +0x48, 0x770e0\nBL              sub_5C1CC                                              ; +0x4c, 0x770e4\nLDR             X8, [SP,#0x30+var_28]                                  ; +0x50, 0x770e8\nCMP             X8, X19                                                ; +0x54, 0x770ec\nB.NE            loc_77104                                              ; +0x58, 0x770f0\nLDR             X8, [X20]                                              ; +0x5c, 0x770f4\nMOV             X0, X20                                                ; +0x60, 0x770f8\nLDR             X8, [X8,#8]                                            ; +0x64, 0x770fc\nBLR             X8                                                     ; +0x68, 0x77100\nMOV             X20, X22                                               ; +0x6c, 0x77104\nB               loc_770C4                                              ; +0x70, 0x77108\nLDP             X29, X30, [SP,#0x30+var_s0]                            ; +0x74, 0x7710c\nLDP             X20, X19, [SP,#0x30+var_10]                            ; +0x78, 0x77110\nLDP             X22, X21, [SP,#0x30+var_20]                            ; +0x7c, 0x77114\nMOV             W0, WZR                                                ; +0x80, 0x77118\nADD             SP, SP, #0x40 ; '@'                                    ; +0x84, 0x7711c\nRET                                                                    ; +0x88, 0x77120", "xrefs": ["sub_6E374 @ 0x6e3d4", "sub_CA9C0 @ 0xca9fc"], "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"}