{"type": "func", "start": 5369662016, "end": 5369662165, "name": "FriendPickerPopup::onDone", "pseudocode": "// \n// FriendPickerPopup::onDone from 0x1400e8a40 to 0x1400e8ad5 (149 bytes)\n// \n// 4 xrefs:\n// > FriendPickerPopup::init @ 0x1400e6e5c\n// > <???> @ 0x140893700\n// > <???> @ 0x140893710\n// > <???> @ 0x140914da4\n// \n// This function is hookable on this platform (idp: pc, 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 11:26:33 +0000\n// \n\n__int64 __fastcall FriendPickerPopup::onDone(_QWORD *a1)\n{\n  __int64 v2; // rcx\n  __int64 v3; // rbx\n  __int64 v4; // rax\n  __int64 v5; // rdx\n\n  if ( !*((_BYTE *)a1 + 828) )\n    return (*(__int64 (__fastcall **)(_QWORD *, _QWORD))(*a1 + 1096LL))(a1, 0);\n  v2 = a1[99];\n  if ( !v2 || !(*(unsigned int (__fastcall **)(__int64))(*(_QWORD *)v2 + 16LL))(v2) )\n    return (*(__int64 (__fastcall **)(_QWORD *, _QWORD))(*a1 + 1096LL))(a1, 0);\n  cocos2d::CCObject::retain((cocos2d::CCObject *)a1);\n  cocos2d::CCObject::autorelease((cocos2d::CCObject *)a1);\n  v3 = a1[99];\n  v4 = *a1;\n  a1[99] = 0;\n  (*(void (__fastcall **)(_QWORD *, _QWORD))(v4 + 992))(a1, 0);\n  LOBYTE(v5) = 1;\n  (*(void (__fastcall **)(_QWORD *, __int64))(*a1 + 520LL))(a1, v5);\n  return (*(__int64 (__fastcall **)(__int64))(*(_QWORD *)v3 + 64LL))(v3);\n}", "assembly": "; \n; FriendPickerPopup::onDone from 0x1400e8a40 to 0x1400e8ad5 (149 bytes)\n; \n; 4 xrefs:\n; > FriendPickerPopup::init @ 0x1400e6e5c\n; > <???> @ 0x140893700\n; > <???> @ 0x140893710\n; > <???> @ 0x140914da4\n; \n; This function is hookable on this platform (idp: pc, 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 11:26:33 +0000\n; \npush    rdi                                                            ; +0x0, 0x1400e8a40\nsub     rsp, 20h                                                       ; +0x2, 0x1400e8a42\ncmp     byte ptr [rcx+33Ch], 0                                         ; +0x6, 0x1400e8a46\nmov     rdi, rcx                                                       ; +0xd, 0x1400e8a4d\njz      short loc_1400E8AC1                                            ; +0x10, 0x1400e8a50\nmov     rcx, [rcx+318h]                                                ; +0x12, 0x1400e8a52\ntest    rcx, rcx                                                       ; +0x19, 0x1400e8a59\njz      short loc_1400E8AC1                                            ; +0x1c, 0x1400e8a5c\nmov     rax, [rcx]                                                     ; +0x1e, 0x1400e8a5e\ncall    qword ptr [rax+10h]                                            ; +0x21, 0x1400e8a61\ntest    eax, eax                                                       ; +0x24, 0x1400e8a64\njz      short loc_1400E8AC1                                            ; +0x26, 0x1400e8a66\nmov     rcx, rdi                                                       ; +0x28, 0x1400e8a68\nmov     [rsp+28h+arg_0], rbx                                           ; +0x2b, 0x1400e8a6b\ncall    cs:?retain@CCObject@cocos2d@@QEAAXXZ; cocos2d::CCObject::retain(void) ; +0x30, 0x1400e8a70\nmov     rcx, rdi                                                       ; +0x36, 0x1400e8a76\ncall    cs:?autorelease@CCObject@cocos2d@@QEAAPEAV12@XZ; cocos2d::CCObject::autorelease(void) ; +0x39, 0x1400e8a79\nmov     rbx, [rdi+318h]                                                ; +0x3f, 0x1400e8a7f\nxor     edx, edx                                                       ; +0x46, 0x1400e8a86\nmov     rax, [rdi]                                                     ; +0x48, 0x1400e8a88\nmov     rcx, rdi                                                       ; +0x4b, 0x1400e8a8b\nmov     qword ptr [rdi+318h], 0                                        ; +0x4e, 0x1400e8a8e\ncall    qword ptr [rax+3E0h]                                           ; +0x59, 0x1400e8a99\nmov     rax, [rdi]                                                     ; +0x5f, 0x1400e8a9f\nmov     dl, 1                                                          ; +0x62, 0x1400e8aa2\nmov     rcx, rdi                                                       ; +0x64, 0x1400e8aa4\ncall    qword ptr [rax+208h]                                           ; +0x67, 0x1400e8aa7\nmov     rax, [rbx]                                                     ; +0x6d, 0x1400e8aad\nmov     rcx, rbx                                                       ; +0x70, 0x1400e8ab0\nmov     rbx, [rsp+28h+arg_0]                                           ; +0x73, 0x1400e8ab3\nadd     rsp, 20h                                                       ; +0x78, 0x1400e8ab8\npop     rdi                                                            ; +0x7c, 0x1400e8abc\njmp     qword ptr [rax+40h]                                            ; +0x7d, 0x1400e8abd\nmov     rax, [rdi]                                                     ; +0x81, 0x1400e8ac1\nxor     edx, edx                                                       ; +0x84, 0x1400e8ac4\nmov     rcx, rdi                                                       ; +0x86, 0x1400e8ac6\nadd     rsp, 20h                                                       ; +0x89, 0x1400e8ac9\npop     rdi                                                            ; +0x8d, 0x1400e8acd\njmp     qword ptr [rax+448h]                                           ; +0x8e, 0x1400e8ace", "xrefs": ["FriendPickerPopup::init @ 0x1400e6e5c", "<???> @ 0x140893700", "<???> @ 0x140893710", "<???> @ 0x140914da4"], "is_objc": false, "is_32_bit": false, "is_64_bit": true, "idp_name": "pc", "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"}