{"type": "func", "start": 5371445024, "end": 5371445161, "name": "SetIDPopup::show", "pseudocode": "// \n// SetIDPopup::show from 0x14029bf20 to 0x14029bfa9 (137 bytes)\n// \n// 10 xrefs:\n// > EditorUI::onColorFilter @ 0x1400e7411\n// > EditorUI::onFindObject @ 0x1400e7fc6\n// > EditorUI::onColorFilter @ 0x1400e73f3\n// > EditorUI::onFindObject @ 0x1400e7fa8\n// > <???> @ 0x140574ef8\n// > <???> @ 0x140575d00\n// > <???> @ 0x140576128\n// > <???> @ 0x140577488\n// > <???> @ 0x14058a198\n// > <???> @ 0x1406d1dcc\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 SetIDPopup::show(SetIDPopup *a1)\n{\n  cocos2d::CCScene *m_scene; // rbx\n  int v3; // eax\n\n  m_scene = *(cocos2d::CCScene **)(cocos2d::CCDirector::sharedDirector(a1) + 264);\n  if ( a1->m_scene )\n  {\n    m_scene = (cocos2d::CCScene *)a1->m_scene;\n  }\n  else\n  {\n    if ( cocos2d::CCScene::getHighestChildZ(m_scene) + 1 >= 105 )\n      v3 = cocos2d::CCScene::getHighestChildZ(m_scene) + 1;\n    else\n      v3 = 105;\n    a1->m_ZOrder = v3;\n  }\n  if ( !a1->m_ZOrder )\n    a1->m_ZOrder = 105;\n  ((void (__fastcall *)(cocos2d::CCScene *, SetIDPopup *))m_scene->addChild_0)(m_scene, a1);\n}", "assembly": "; \n; SetIDPopup::show from 0x14029bf20 to 0x14029bfa9 (137 bytes)\n; \n; 10 xrefs:\n; > EditorUI::onColorFilter @ 0x1400e7411\n; > EditorUI::onFindObject @ 0x1400e7fc6\n; > EditorUI::onColorFilter @ 0x1400e73f3\n; > EditorUI::onFindObject @ 0x1400e7fa8\n; > <???> @ 0x140574ef8\n; > <???> @ 0x140575d00\n; > <???> @ 0x140576128\n; > <???> @ 0x140577488\n; > <???> @ 0x14058a198\n; > <???> @ 0x1406d1dcc\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\nmov     [rsp+arg_0], rbx                                               ; +0x0, 0x14029bf20\npush    rdi                                                            ; +0x5, 0x14029bf25\nsub     rsp, 20h                                                       ; +0x6, 0x14029bf26\nmov     rdi, rcx                                                       ; +0xa, 0x14029bf2a\ncall    cs:?sharedDirector@CCDirector@cocos2d@@SAPEAV12@XZ; cocos2d::CCDirector::sharedDirector(void) ; +0xd, 0x14029bf2d\nmov     rbx, [rax+108h]                                                ; +0x13, 0x14029bf33\nmov     rax, [rdi+230h]                                                ; +0x1a, 0x14029bf3a\ntest    rax, rax                                                       ; +0x21, 0x14029bf41\njz      short loc_14029BF4B                                            ; +0x24, 0x14029bf44\nmov     rbx, rax                                                       ; +0x26, 0x14029bf46\njmp     short loc_14029BF73                                            ; +0x29, 0x14029bf49\nmov     rcx, rbx                                                       ; +0x2b, 0x14029bf4b\ncall    cs:?getHighestChildZ@CCScene@cocos2d@@QEAAHXZ; cocos2d::CCScene::getHighestChildZ(void) ; +0x2e, 0x14029bf4e\ninc     eax                                                            ; +0x34, 0x14029bf54\ncmp     eax, 69h ; 'i'                                                 ; +0x36, 0x14029bf56\njge     short loc_14029BF62                                            ; +0x39, 0x14029bf59\nmov     eax, 69h ; 'i'                                                 ; +0x3b, 0x14029bf5b\njmp     short loc_14029BF6D                                            ; +0x40, 0x14029bf60\nmov     rcx, rbx                                                       ; +0x42, 0x14029bf62\ncall    cs:?getHighestChildZ@CCScene@cocos2d@@QEAAHXZ; cocos2d::CCScene::getHighestChildZ(void) ; +0x45, 0x14029bf65\ninc     eax                                                            ; +0x4b, 0x14029bf6b\nmov     [rdi+248h], eax                                                ; +0x4d, 0x14029bf6d\nmov     r8d, [rdi+248h]                                                ; +0x53, 0x14029bf73\ntest    r8d, r8d                                                       ; +0x5a, 0x14029bf7a\njnz     short loc_14029BF8F                                            ; +0x5d, 0x14029bf7d\nmov     dword ptr [rdi+248h], 69h ; 'i'                                ; +0x5f, 0x14029bf7f\nmov     r8d, 69h ; 'i'                                                 ; +0x69, 0x14029bf89\nmov     rax, [rbx]                                                     ; +0x6f, 0x14029bf8f\nmov     rdx, rdi                                                       ; +0x72, 0x14029bf92\nmov     rcx, rbx                                                       ; +0x75, 0x14029bf95\nmov     rbx, [rsp+28h+arg_0]                                           ; +0x78, 0x14029bf98\nadd     rsp, 20h                                                       ; +0x7d, 0x14029bf9d\npop     rdi                                                            ; +0x81, 0x14029bfa1\njmp     qword ptr [rax+1B8h]                                           ; +0x82, 0x14029bfa2", "xrefs": ["EditorUI::onColorFilter @ 0x1400e7411", "EditorUI::onFindObject @ 0x1400e7fc6", "EditorUI::onColorFilter @ 0x1400e73f3", "EditorUI::onFindObject @ 0x1400e7fa8", "<???> @ 0x140574ef8", "<???> @ 0x140575d00", "<???> @ 0x140576128", "<???> @ 0x140577488", "<???> @ 0x14058a198", "<???> @ 0x1406d1dcc"], "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"}