{"type": "func", "start": 5370874784, "end": 5370874996, "name": "FRequestProfilePage::onClearSearch", "pseudocode": "// \n// FRequestProfilePage::onClearSearch from 0x140210ba0 to 0x140210c74 (212 bytes)\n// \n// 2 xrefs:\n// > FRequestProfilePage::init @ 0x14020fbf4\n// > <???> @ 0x14091b494\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:28:19 +0000\n// \n\nvoid __fastcall FRequestProfilePage::onClearSearch(__int64 a1)\n{\n  _QWORD *v2; // rcx\n  cocos2d::CCObject *v3; // rcx\n  __int128 v4; // [rsp+20h] [rbp-28h] BYREF\n  __int64 v5; // [rsp+30h] [rbp-18h]\n  __int64 v6; // [rsp+38h] [rbp-10h]\n\n  v2 = *(_QWORD **)(a1 + 880);\n  if ( v2 )\n  {\n    v5 = 0;\n    v4 = 0;\n    LOBYTE(v4) = 0;\n    v6 = 15;\n    CCTextInputNode::setString(v2, &v4);\n  }\n  if ( *(_BYTE *)(a1 + 896) )\n  {\n    v3 = *(cocos2d::CCObject **)(a1 + 888);\n    *(_BYTE *)(a1 + 896) = 0;\n    if ( v3 )\n    {\n      cocos2d::CCObject::release(v3);\n      *(_QWORD *)(a1 + 888) = 0;\n    }\n    (*(void (__fastcall **)(_QWORD, _QWORD))(**(_QWORD **)(a1 + 792) + 336LL))(*(_QWORD *)(a1 + 792), 0);\n    cocos2d::CCNode::unschedule(a1, FRequestProfilePage::doSearch);\n  }\n  else\n  {\n    cocos2d::CCNode::unschedule(a1, FRequestProfilePage::doSearch);\n    if ( !*(_QWORD *)(a1 + 760) )\n      return;\n  }\n  sub_1400405A0((void **)(a1 + 744), &byte_1406ED6E0, 0);\n  FRequestProfilePage::loadPage(a1, 0);\n}", "assembly": "; \n; FRequestProfilePage::onClearSearch from 0x140210ba0 to 0x140210c74 (212 bytes)\n; \n; 2 xrefs:\n; > FRequestProfilePage::init @ 0x14020fbf4\n; > <???> @ 0x14091b494\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:28:19 +0000\n; \npush    rbx                                                            ; +0x0, 0x140210ba0\nsub     rsp, 40h                                                       ; +0x2, 0x140210ba2\nmov     rbx, rcx                                                       ; +0x6, 0x140210ba6\nmov     rcx, [rcx+370h]                                                ; +0x9, 0x140210ba9\ntest    rcx, rcx                                                       ; +0x10, 0x140210bb0\njz      short loc_140210BDE                                            ; +0x13, 0x140210bb3\nxorps   xmm0, xmm0                                                     ; +0x15, 0x140210bb5\nmov     [rsp+48h+var_18], 0                                            ; +0x18, 0x140210bb8\nmovups  [rsp+48h+var_28], xmm0                                         ; +0x21, 0x140210bc1\nlea     rdx, [rsp+48h+var_28]                                          ; +0x26, 0x140210bc6\nmov     byte ptr [rsp+48h+var_28], 0                                   ; +0x2b, 0x140210bcb\nmov     [rsp+48h+var_10], 0Fh                                          ; +0x30, 0x140210bd0\ncall    CCTextInputNode__setString                                     ; +0x39, 0x140210bd9\ncmp     byte ptr [rbx+380h], 0                                         ; +0x3e, 0x140210bde\njz      short loc_140210C2F                                            ; +0x45, 0x140210be5\nmov     rcx, [rbx+378h]                                                ; +0x47, 0x140210be7\nmov     byte ptr [rbx+380h], 0                                         ; +0x4e, 0x140210bee\ntest    rcx, rcx                                                       ; +0x55, 0x140210bf5\njz      short loc_140210C0B                                            ; +0x58, 0x140210bf8\ncall    cs:?release@CCObject@cocos2d@@QEAAXXZ; cocos2d::CCObject::release(void) ; +0x5a, 0x140210bfa\nmov     qword ptr [rbx+378h], 0                                        ; +0x60, 0x140210c00\nmov     rcx, [rbx+318h]                                                ; +0x6b, 0x140210c0b\nxor     edx, edx                                                       ; +0x72, 0x140210c12\nmov     rax, [rcx]                                                     ; +0x74, 0x140210c14\ncall    qword ptr [rax+150h]                                           ; +0x77, 0x140210c17\nlea     rdx, FRequestProfilePage__doSearch                             ; +0x7d, 0x140210c1d\nmov     rcx, rbx                                                       ; +0x84, 0x140210c24\ncall    cs:?unschedule@CCNode@cocos2d@@QEAAXP8CCObject@2@EAAXM@Z@Z; cocos2d::CCNode::unschedule(void (cocos2d::CCObject::*)(float)) ; +0x87, 0x140210c27\njmp     short loc_140210C49                                            ; +0x8d, 0x140210c2d\nlea     rdx, FRequestProfilePage__doSearch                             ; +0x8f, 0x140210c2f\nmov     rcx, rbx                                                       ; +0x96, 0x140210c36\ncall    cs:?unschedule@CCNode@cocos2d@@QEAAXP8CCObject@2@EAAXM@Z@Z; cocos2d::CCNode::unschedule(void (cocos2d::CCObject::*)(float)) ; +0x99, 0x140210c39\ncmp     qword ptr [rbx+2F8h], 0                                        ; +0x9f, 0x140210c3f\njz      short loc_140210C6E                                            ; +0xa7, 0x140210c47\nlea     rcx, [rbx+2E8h]; void *                                        ; +0xa9, 0x140210c49\nxor     r8d, r8d; Size                                                 ; +0xb0, 0x140210c50\nlea     rdx, byte_1406ED6E0; Src                                       ; +0xb3, 0x140210c53\ncall    sub_1400405A0                                                  ; +0xba, 0x140210c5a\nxor     edx, edx                                                       ; +0xbf, 0x140210c5f\nmov     rcx, rbx                                                       ; +0xc1, 0x140210c61\nadd     rsp, 40h                                                       ; +0xc4, 0x140210c64\npop     rbx                                                            ; +0xc8, 0x140210c68\njmp     FRequestProfilePage__loadPage                                  ; +0xc9, 0x140210c69\nadd     rsp, 40h                                                       ; +0xce, 0x140210c6e\npop     rbx                                                            ; +0xd2, 0x140210c72\nretn                                                                   ; +0xd3, 0x140210c73", "xrefs": ["FRequestProfilePage::init @ 0x14020fbf4", "<???> @ 0x14091b494"], "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"}