{"type": "func", "start": 5369281344, "end": 5369281504, "name": "CollisionBlockPopup::onClose", "pseudocode": "// \n// CollisionBlockPopup::onClose from 0x14008bb40 to 0x14008bbe0 (160 bytes)\n// \n// 3 xrefs:\n// > CollisionBlockPopup::keyBackClicked @ 0x14008bbe9\n// > CollisionBlockPopup::init @ 0x14008ad71\n// > <???> @ 0x1406c6dec\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\n// Hidden C++ exception states: #wind=1\nvoid CollisionBlockPopup::onClose(CollisionBlockPopup *a1, cocos2d::CCObject *a2)\n{\n  __int64 v3; // rax\n  _BOOL8 v4; // rdx\n  void *v5; // [rsp+30h] [rbp+8h]\n\n  a1->m_blockIDInput->m_delegate = nullptr;\n  a1->m_blockIDInput->onClickTrackNode(a1->m_blockIDInput, 0);\n  CollisionBlockPopup::updateEditorLabel(a1);\n  v3 = qword_1406C2ED8;\n  if ( !qword_1406C2ED8 )\n  {\n    v5 = operator new(0x668u);\n    qword_1406C2ED8 = sub_14017AB00(v5);\n    (*(void (__fastcall **)(__int64))(*(_QWORD *)qword_1406C2ED8 + 72LL))(qword_1406C2ED8);\n    v3 = qword_1406C2ED8;\n  }\n  *(_BYTE *)(*(_QWORD *)(v3 + 528) + 14401LL) = 1;\n  a1->setKeypadEnabled(a1, 0);\n  LOBYTE(v4) = 1;\n  a1->removeFromParentAndCleanup(a1, v4);\n}", "assembly": "; \n; CollisionBlockPopup::onClose from 0x14008bb40 to 0x14008bbe0 (160 bytes)\n; \n; 3 xrefs:\n; > CollisionBlockPopup::keyBackClicked @ 0x14008bbe9\n; > CollisionBlockPopup::init @ 0x14008ad71\n; > <???> @ 0x1406c6dec\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, 0x14008bb40\nsub     rsp, 20h                                                       ; +0x2, 0x14008bb42\nmov     rbx, rcx                                                       ; +0x6, 0x14008bb46\nmov     rax, [rcx+290h]                                                ; +0x9, 0x14008bb49\nmov     qword ptr [rax+230h], 0                                        ; +0x10, 0x14008bb50\nmov     rcx, [rcx+290h]                                                ; +0x1b, 0x14008bb5b\nmov     rax, [rcx]                                                     ; +0x22, 0x14008bb62\nxor     edx, edx                                                       ; +0x25, 0x14008bb65\ncall    qword ptr [rax+3F8h]                                           ; +0x27, 0x14008bb67\nmov     rcx, rbx                                                       ; +0x2d, 0x14008bb6d\ncall    CollisionBlockPopup__updateEditorLabel                         ; +0x30, 0x14008bb70\nmov     rax, cs:qword_1406C2ED8                                        ; +0x35, 0x14008bb75\ntest    rax, rax                                                       ; +0x3c, 0x14008bb7c\njnz     short loc_14008BBB0                                            ; +0x3f, 0x14008bb7f\nmov     ecx, 668h; Size                                                ; +0x41, 0x14008bb81\ncall    ??2@YAPEAX_K@Z; operator new(unsigned __int64)                 ; +0x46, 0x14008bb86\nmov     [rsp+28h+arg_0], rax                                           ; +0x4b, 0x14008bb8b\nmov     rcx, rax                                                       ; +0x50, 0x14008bb90\ncall    sub_14017AB00                                                  ; +0x53, 0x14008bb93\nnop                                                                    ; +0x58, 0x14008bb98\nmov     cs:qword_1406C2ED8, rax                                        ; +0x59, 0x14008bb99\nmov     rdx, [rax]                                                     ; +0x60, 0x14008bba0\nmov     rcx, rax                                                       ; +0x63, 0x14008bba3\ncall    qword ptr [rdx+48h]                                            ; +0x66, 0x14008bba6\nmov     rax, cs:qword_1406C2ED8                                        ; +0x69, 0x14008bba9\nmov     rax, [rax+210h]                                                ; +0x70, 0x14008bbb0\nmov     byte ptr [rax+3841h], 1                                        ; +0x77, 0x14008bbb7\nmov     rax, [rbx]                                                     ; +0x7e, 0x14008bbbe\nxor     edx, edx                                                       ; +0x81, 0x14008bbc1\nmov     rcx, rbx                                                       ; +0x83, 0x14008bbc3\ncall    qword ptr [rax+3D0h]                                           ; +0x86, 0x14008bbc6\nmov     rax, [rbx]                                                     ; +0x8c, 0x14008bbcc\nmov     dl, 1                                                          ; +0x8f, 0x14008bbcf\nmov     rcx, rbx                                                       ; +0x91, 0x14008bbd1\nadd     rsp, 20h                                                       ; +0x94, 0x14008bbd4\npop     rbx                                                            ; +0x98, 0x14008bbd8\njmp     qword ptr [rax+1F8h]                                           ; +0x99, 0x14008bbd9", "xrefs": ["CollisionBlockPopup::keyBackClicked @ 0x14008bbe9", "CollisionBlockPopup::init @ 0x14008ad71", "<???> @ 0x1406c6dec"], "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"}