{"type": "func", "start": 4302527568, "end": 4302527773, "name": "FriendsProfilePage::onClearSearch", "pseudocode": "// \n// FriendsProfilePage::onClearSearch from 0x100735c50 to 0x100735d1d (205 bytes)\n// \n// 1 xrefs:\n// > FriendsProfilePage::init @ 0x100735560\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 12:36:24 +0000\n// \n\n__int64 __fastcall FriendsProfilePage::onClearSearch(__int64 a1)\n{\n  _QWORD *v2; // rdi\n  unsigned int v3; // eax\n  __int64 result; // rax\n  _DWORD *v5; // rdi\n  _WORD v6[8]; // [rsp+8h] [rbp-28h] BYREF\n  void *__p; // [rsp+18h] [rbp-18h]\n\n  v2 = *(_QWORD **)(a1 + 912);\n  if ( v2 )\n  {\n    v6[0] = 0;\n    CCTextInputNode::setString(v2, (__int64)v6);\n    if ( (v6[0] & 1) != 0 )\n      operator delete(__p);\n  }\n  if ( !*(_BYTE *)(a1 + 920) )\n  {\n    v3 = *(unsigned __int8 *)(a1 + 880);\n    if ( (v3 & 1) != 0 )\n    {\n      result = *(_QWORD *)(a1 + 888);\n      if ( !result )\n        return result;\n    }\n    else\n    {\n      result = v3 >> 1;\n      if ( !result )\n        return result;\n    }\n  }\n  *(_BYTE *)(a1 + 920) = 0;\n  v5 = *(_DWORD **)(a1 + 872);\n  if ( v5 )\n  {\n    cocos2d::CCObject::release(v5);\n    *(_QWORD *)(a1 + 872) = 0;\n  }\n  sub_10095CEF0(a1);\n  std::string::assign((std::string *)(a1 + 880), \"\");\n  FriendsProfilePage::filterUsersWithQuery(a1, a1 + 880);\n  FriendsProfilePage::updateCountLabel(a1);\n  return ScrollableContentLayer::reloadVirtualRows(*(_QWORD *)(a1 + 688), 0.0);\n}", "assembly": "; \n; FriendsProfilePage::onClearSearch from 0x100735c50 to 0x100735d1d (205 bytes)\n; \n; 1 xrefs:\n; > FriendsProfilePage::init @ 0x100735560\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 12:36:24 +0000\n; \npush    rbp                                                            ; +0x0, 0x100735c50\nmov     rbp, rsp                                                       ; +0x1, 0x100735c51\npush    r14                                                            ; +0x4, 0x100735c54\npush    rbx                                                            ; +0x6, 0x100735c56\nsub     rsp, 20h                                                       ; +0x7, 0x100735c57\nmov     rbx, rdi                                                       ; +0xb, 0x100735c5b\nmov     rdi, [rdi+390h]                                                ; +0xe, 0x100735c5e\ntest    rdi, rdi                                                       ; +0x15, 0x100735c65\njz      short loc_100735C88                                            ; +0x18, 0x100735c68\nmov     [rbp+var_28], 0                                                ; +0x1a, 0x100735c6a\nlea     rsi, [rbp+var_28]                                              ; +0x20, 0x100735c70\ncall    CCTextInputNode__setString                                     ; +0x24, 0x100735c74\ntest    byte ptr [rbp+var_28], 1                                       ; +0x29, 0x100735c79\njz      short loc_100735C88                                            ; +0x2d, 0x100735c7d\nmov     rdi, [rbp+__p]; __p                                            ; +0x2f, 0x100735c7f\ncall    __ZdlPv; operator delete(void *)                               ; +0x33, 0x100735c83\ncmp     byte ptr [rbx+398h], 0                                         ; +0x38, 0x100735c88\njnz     short loc_100735CB1                                            ; +0x3f, 0x100735c8f\nmovzx   eax, byte ptr [rbx+370h]                                       ; +0x41, 0x100735c91\ntest    al, 1                                                          ; +0x48, 0x100735c98\njnz     short loc_100735CA5                                            ; +0x4a, 0x100735c9a\nshr     eax, 1                                                         ; +0x4c, 0x100735c9c\ntest    rax, rax                                                       ; +0x4e, 0x100735c9e\njnz     short loc_100735CB1                                            ; +0x51, 0x100735ca1\njmp     short loc_100735D14                                            ; +0x53, 0x100735ca3\nmov     rax, [rbx+378h]                                                ; +0x55, 0x100735ca5\ntest    rax, rax                                                       ; +0x5c, 0x100735cac\njz      short loc_100735D14                                            ; +0x5f, 0x100735caf\nmov     byte ptr [rbx+398h], 0                                         ; +0x61, 0x100735cb1\nmov     rdi, [rbx+368h]                                                ; +0x68, 0x100735cb8\ntest    rdi, rdi                                                       ; +0x6f, 0x100735cbf\njz      short loc_100735CD4                                            ; +0x72, 0x100735cc2\ncall    cocos2d__CCObject__release                                     ; +0x74, 0x100735cc4\nmov     qword ptr [rbx+368h], 0                                        ; +0x79, 0x100735cc9\nmov     rdi, rbx                                                       ; +0x84, 0x100735cd4\ncall    sub_10095CEF0                                                  ; +0x87, 0x100735cd7\nlea     r14, [rbx+370h]                                                ; +0x8c, 0x100735cdc\nlea     rsi, asc_100A41668; \"\"                                         ; +0x93, 0x100735ce3\nmov     rdi, r14; this                                                 ; +0x9a, 0x100735cea\ncall    __ZNSt3__112basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEE6assignEPKc; std::string::assign(char const*) ; +0x9d, 0x100735ced\nmov     rdi, rbx                                                       ; +0xa2, 0x100735cf2\nmov     rsi, r14                                                       ; +0xa5, 0x100735cf5\ncall    FriendsProfilePage__filterUsersWithQuery                       ; +0xa8, 0x100735cf8\nmov     rdi, rbx                                                       ; +0xad, 0x100735cfd\ncall    FriendsProfilePage__updateCountLabel                           ; +0xb0, 0x100735d00\nmov     rdi, [rbx+2B0h]                                                ; +0xb5, 0x100735d05\nxorps   xmm0, xmm0                                                     ; +0xbc, 0x100735d0c\ncall    ScrollableContentLayer__reloadVirtualRows                      ; +0xbf, 0x100735d0f\nadd     rsp, 20h                                                       ; +0xc4, 0x100735d14\npop     rbx                                                            ; +0xc8, 0x100735d18\npop     r14                                                            ; +0xc9, 0x100735d19\npop     rbp                                                            ; +0xcb, 0x100735d1b\nretn                                                                   ; +0xcc, 0x100735d1c", "xrefs": ["FriendsProfilePage::init @ 0x100735560"], "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"}