{"type": "func", "start": 5371644320, "end": 5371644495, "name": "LevelBrowserLayer::onGoToFolder", "pseudocode": "// \n// LevelBrowserLayer::onGoToFolder from 0x1402cc9a0 to 0x1402cca4f (175 bytes)\n// \n// 4 xrefs:\n// > LevelBrowserLayer::init @ 0x1402c9d0e\n// > <???> @ 0x14068d5b4\n// > <???> @ 0x14068d5c4\n// > <???> @ 0x1406d2ce4\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 LevelBrowserLayer::onGoToFolder(LevelBrowserLayer *a1, cocos2d::CCObject *a2)\n{\n  GJSearchObject *m_searchObject; // rcx\n  SetIDPopup *v4; // rbx\n  SetIDPopup_vtbl *v5; // rdx\n  SetIDPopupDelegate *v6; // rcx\n  char v7[14]; // [rsp+20h] [rbp-28h] BYREF\n  __int16 v8; // [rsp+2Eh] [rbp-1Ah]\n  __int64 v9; // [rsp+30h] [rbp-18h]\n  __int64 v10; // [rsp+38h] [rbp-10h]\n\n  m_searchObject = a1->m_searchObject;\n  if ( m_searchObject )\n  {\n    v9 = 12;\n    v10 = 15;\n    strcpy(v7, \"Go to Folder\");\n    v7[13] = 0;\n    v8 = 0;\n    v4 = SetFolderPopup::create(m_searchObject->m_folder, m_searchObject->m_searchType == MyLevels, (__int64)v7);\n    v4->setTag(v4, 4);\n    v5 = v4->FLAlertLayer::cocos2d::CCLayerColor::cocos2d::CCLayerRGBA::cocos2d::CCLayer::cocos2d::CCNode::cocos2d::CCObject::cocos2d::CCCopying::__vftable;\n    v6 = &a1->SetIDPopupDelegate;\n    if ( !a1 )\n      v6 = nullptr;\n    v4->m_delegate = v6;\n    v5->show(v4);\n  }\n}", "assembly": "; \n; LevelBrowserLayer::onGoToFolder from 0x1402cc9a0 to 0x1402cca4f (175 bytes)\n; \n; 4 xrefs:\n; > LevelBrowserLayer::init @ 0x1402c9d0e\n; > <???> @ 0x14068d5b4\n; > <???> @ 0x14068d5c4\n; > <???> @ 0x1406d2ce4\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    rdi                                                            ; +0x0, 0x1402cc9a0\nsub     rsp, 40h                                                       ; +0x2, 0x1402cc9a2\nmov     rdi, rcx                                                       ; +0x6, 0x1402cc9a6\nmov     rcx, [rcx+298h]                                                ; +0x9, 0x1402cc9a9\ntest    rcx, rcx                                                       ; +0x10, 0x1402cc9b0\njz      loc_1402CCA49                                                  ; +0x13, 0x1402cc9b3\nmov     eax, cs:dword_140584540                                        ; +0x19, 0x1402cc9b9\nlea     r8, [rsp+48h+var_28]                                           ; +0x1f, 0x1402cc9bf\nxorps   xmm0, xmm0                                                     ; +0x24, 0x1402cc9c4\nmov     [rsp+48h+var_18], 0Ch                                          ; +0x27, 0x1402cc9c7\nmovups  [rsp+48h+var_28], xmm0                                         ; +0x30, 0x1402cc9d0\nmov     [rsp+48h+var_10], 0Fh                                          ; +0x35, 0x1402cc9d5\nmovsd   xmm0, cs:qword_140584538                                       ; +0x3e, 0x1402cc9de\nmovsd   qword ptr [rsp+48h+var_28], xmm0                               ; +0x46, 0x1402cc9e6\nmov     dword ptr [rsp+48h+var_28+8], eax                              ; +0x4c, 0x1402cc9ec\nmov     byte ptr [rsp+48h+var_28+0Ch], 0                               ; +0x50, 0x1402cc9f0\ncmp     dword ptr [rcx+140h], 62h ; 'b'                                ; +0x55, 0x1402cc9f5\nmov     ecx, [rcx+1C4h]                                                ; +0x5c, 0x1402cc9fc\nsetz    dl                                                             ; +0x62, 0x1402cca02\nmov     [rsp+48h+arg_8], rbx                                           ; +0x65, 0x1402cca05\ncall    SetFolderPopup__create                                         ; +0x6a, 0x1402cca0a\nmov     edx, 4                                                         ; +0x6f, 0x1402cca0f\nmov     rcx, rax                                                       ; +0x74, 0x1402cca14\nmov     rbx, rax                                                       ; +0x77, 0x1402cca17\nmov     r8, [rax]                                                      ; +0x7a, 0x1402cca1a\ncall    qword ptr [r8+40h]                                             ; +0x7d, 0x1402cca1d\nmov     rdx, [rbx]                                                     ; +0x81, 0x1402cca21\nlea     rcx, [rdi+230h]                                                ; +0x84, 0x1402cca24\nxor     eax, eax                                                       ; +0x8b, 0x1402cca2b\ntest    rdi, rdi                                                       ; +0x8d, 0x1402cca2d\ncmovz   rcx, rax                                                       ; +0x90, 0x1402cca30\nmov     [rbx+2A0h], rcx                                                ; +0x94, 0x1402cca34\nmov     rcx, rbx                                                       ; +0x9b, 0x1402cca3b\ncall    qword ptr [rdx+410h]                                           ; +0x9e, 0x1402cca3e\nmov     rbx, [rsp+48h+arg_8]                                           ; +0xa4, 0x1402cca44\nadd     rsp, 40h                                                       ; +0xa9, 0x1402cca49\npop     rdi                                                            ; +0xad, 0x1402cca4d\nretn                                                                   ; +0xae, 0x1402cca4e", "xrefs": ["LevelBrowserLayer::init @ 0x1402c9d0e", "<???> @ 0x14068d5b4", "<???> @ 0x14068d5c4", "<???> @ 0x1406d2ce4"], "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"}