{"type": "func", "start": 5371452000, "end": 5371452134, "name": "SetTextPopup::onClose", "pseudocode": "// \n// SetTextPopup::onClose from 0x14029da60 to 0x14029dae6 (134 bytes)\n// \n// 3 xrefs:\n// > SetTextPopup::keyBackClicked @ 0x14029daf9\n// > SetTextPopup::init @ 0x14029d2e1\n// > <???> @ 0x1406d1ea4\n// \n// This function is hookable on this platform!\n// \n// Using BromaIDA 8.0.0 @ https://github.com/Stazzical/BromaIDA\n// Using bindings at commit ba9f177b at Thu Jul 16 22:52:06 2026 from https://github.com/geode-sdk/bindings\n// \n\nvoid SetTextPopup::onClose(SetTextPopup *a1, cocos2d::CCObject *a2)\n{\n  std::string *v3; // rax\n  _BOOL8 v4; // rdx\n  _BYTE v5[40]; // [rsp+20h] [rbp-28h] BYREF\n\n  a1->m_input->m_delegate = nullptr;\n  a1->m_input->onClickTrackNode(a1->m_input, 0);\n  if ( a1->m_delegate && !a1->m_cancelled )\n  {\n    v3 = (std::string *)sub_14003BDB0((__int64)v5, (__int64)&a1->m_value);\n    a1->m_delegate->setTextPopupClosed(a1->m_delegate, a1, v3);\n  }\n  a1->setKeypadEnabled(a1, 0);\n  LOBYTE(v4) = 1;\n  a1->removeFromParentAndCleanup(a1, v4);\n}", "assembly": "; \n; SetTextPopup::onClose from 0x14029da60 to 0x14029dae6 (134 bytes)\n; \n; 3 xrefs:\n; > SetTextPopup::keyBackClicked @ 0x14029daf9\n; > SetTextPopup::init @ 0x14029d2e1\n; > <???> @ 0x1406d1ea4\n; \n; This function is hookable on this platform!\n; \n; Using BromaIDA 8.0.0 @ https:;github.com/Stazzical/BromaIDA\n; Using bindings at commit ba9f177b at Thu Jul 16 22:52:06 2026 from https:;github.com/geode-sdk/bindings\n; \n\npush    rbx                                                            ; +0x0, 0x14029da60\nsub     rsp, 40h                                                       ; +0x2, 0x14029da62\nmov     rax, [rcx+280h]                                                ; +0x6, 0x14029da66\nmov     rbx, rcx                                                       ; +0xd, 0x14029da6d\nxor     edx, edx                                                       ; +0x10, 0x14029da70\nmov     qword ptr [rax+230h], 0                                        ; +0x12, 0x14029da72\nmov     rcx, [rcx+280h]                                                ; +0x1d, 0x14029da7d\nmov     rax, [rcx]                                                     ; +0x24, 0x14029da84\ncall    qword ptr [rax+3F8h]                                           ; +0x27, 0x14029da87\ncmp     qword ptr [rbx+2B0h], 0                                        ; +0x2d, 0x14029da8d\njz      short loc_14029DAC4                                            ; +0x35, 0x14029da95\ncmp     byte ptr [rbx+289h], 0                                         ; +0x37, 0x14029da97\njnz     short loc_14029DAC4                                            ; +0x3e, 0x14029da9e\nlea     rdx, [rbx+290h]                                                ; +0x40, 0x14029daa0\nlea     rcx, [rsp+48h+var_28]                                          ; +0x47, 0x14029daa7\ncall    sub_14003BDB0                                                  ; +0x4c, 0x14029daac\nmov     rcx, [rbx+2B0h]                                                ; +0x51, 0x14029dab1\nmov     r8, rax                                                        ; +0x58, 0x14029dab8\nmov     rdx, rbx                                                       ; +0x5b, 0x14029dabb\nmov     r9, [rcx]                                                      ; +0x5e, 0x14029dabe\ncall    qword ptr [r9]                                                 ; +0x61, 0x14029dac1\nmov     rax, [rbx]                                                     ; +0x64, 0x14029dac4\nxor     edx, edx                                                       ; +0x67, 0x14029dac7\nmov     rcx, rbx                                                       ; +0x69, 0x14029dac9\ncall    qword ptr [rax+3D0h]                                           ; +0x6c, 0x14029dacc\nmov     rax, [rbx]                                                     ; +0x72, 0x14029dad2\nmov     dl, 1                                                          ; +0x75, 0x14029dad5\nmov     rcx, rbx                                                       ; +0x77, 0x14029dad7\nadd     rsp, 40h                                                       ; +0x7a, 0x14029dada\npop     rbx                                                            ; +0x7e, 0x14029dade\njmp     qword ptr [rax+1F8h]                                           ; +0x7f, 0x14029dadf", "xrefs": ["SetTextPopup::keyBackClicked @ 0x14029daf9", "SetTextPopup::init @ 0x14029d2e1", "<???> @ 0x1406d1ea4"], "is_objc": false, "is_arm32": false, "is_arm64": false, "bida_info": "8.0.0 @ https://github.com/Stazzical/BromaIDA", "bindings_info": "commit ba9f177b at Thu Jul 16 22:52:06 2026 from https://github.com/geode-sdk/bindings"}