{"type": "func", "start": 5371992432, "end": 5371992536, "name": "LevelSettingsLayer::onShowPicker", "pseudocode": "// \n// LevelSettingsLayer::onShowPicker from 0x140321970 to 0x1403219d8 (104 bytes)\n// \n// 7 xrefs:\n// > LevelSettingsLayer::init @ 0x14031efa1\n// > LevelSettingsLayer::init @ 0x14031f012\n// > LevelSettingsLayer::init @ 0x14031f083\n// > LevelSettingsLayer::init @ 0x14031f0f4\n// > LevelSettingsLayer::init @ 0x14031f165\n// > LevelSettingsLayer::init @ 0x14031f1d6\n// > <???> @ 0x1406d4c64\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 LevelSettingsLayer::onShowPicker(LevelSettingsLayer *a1, cocos2d::CCObject *a2)\n{\n  GJEffectManager *m_effectManager; // rbx\n  int v4; // eax\n  ColorAction *ColorAction; // rax\n  ColorSelectPopup *v6; // rax\n  ColorSelectDelegate *v7; // rcx\n  ColorSelectPopup_vtbl *v8; // rdx\n\n  m_effectManager = a1->m_settingsObject->m_effectManager;\n  v4 = a2->getTag(a2);\n  ColorAction = GJEffectManager::getColorAction(m_effectManager, v4);\n  v6 = ColorSelectPopup::create(nullptr, nullptr, ColorAction);\n  v7 = &a1->ColorSelectDelegate;\n  if ( !a1 )\n    v7 = nullptr;\n  v8 = v6->SetupTriggerPopup::FLAlertLayer::cocos2d::CCLayerColor::cocos2d::CCLayerRGBA::cocos2d::CCLayer::cocos2d::CCNode::cocos2d::CCObject::cocos2d::CCCopying::__vftable;\n  v6->m_delegate = v7;\n  v8->show(v6);\n}", "assembly": "; \n; LevelSettingsLayer::onShowPicker from 0x140321970 to 0x1403219d8 (104 bytes)\n; \n; 7 xrefs:\n; > LevelSettingsLayer::init @ 0x14031efa1\n; > LevelSettingsLayer::init @ 0x14031f012\n; > LevelSettingsLayer::init @ 0x14031f083\n; > LevelSettingsLayer::init @ 0x14031f0f4\n; > LevelSettingsLayer::init @ 0x14031f165\n; > LevelSettingsLayer::init @ 0x14031f1d6\n; > <???> @ 0x1406d4c64\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, 0x140321970\npush    rdi                                                            ; +0x5, 0x140321975\nsub     rsp, 20h                                                       ; +0x6, 0x140321976\nmov     rax, [rcx+318h]                                                ; +0xa, 0x14032197a\nmov     rdi, rcx                                                       ; +0x11, 0x140321981\nmov     rcx, rdx                                                       ; +0x14, 0x140321984\nmov     rbx, [rax+140h]                                                ; +0x17, 0x140321987\nmov     rax, [rdx]                                                     ; +0x1e, 0x14032198e\ncall    qword ptr [rax+38h]                                            ; +0x21, 0x140321991\nmov     edx, eax                                                       ; +0x24, 0x140321994\nmov     rcx, rbx                                                       ; +0x26, 0x140321996\ncall    GJEffectManager__getColorAction                                ; +0x29, 0x140321999\nmov     r8, rax                                                        ; +0x2e, 0x14032199e\nxor     edx, edx                                                       ; +0x31, 0x1403219a1\nxor     ecx, ecx                                                       ; +0x33, 0x1403219a3\ncall    ColorSelectPopup__create                                       ; +0x35, 0x1403219a5\nxor     edx, edx                                                       ; +0x3a, 0x1403219aa\nlea     rcx, [rdi+278h]                                                ; +0x3c, 0x1403219ac\ntest    rdi, rdi                                                       ; +0x43, 0x1403219b3\ncmovz   rcx, rdx                                                       ; +0x46, 0x1403219b6\nmov     rdx, [rax]                                                     ; +0x4a, 0x1403219ba\nmov     [rax+410h], rcx                                                ; +0x4d, 0x1403219bd\nmov     rcx, rax                                                       ; +0x54, 0x1403219c4\nmov     rbx, [rsp+28h+arg_0]                                           ; +0x57, 0x1403219c7\nadd     rsp, 20h                                                       ; +0x5c, 0x1403219cc\npop     rdi                                                            ; +0x60, 0x1403219d0\njmp     qword ptr [rdx+410h]                                           ; +0x61, 0x1403219d1", "xrefs": ["LevelSettingsLayer::init @ 0x14031efa1", "LevelSettingsLayer::init @ 0x14031f012", "LevelSettingsLayer::init @ 0x14031f083", "LevelSettingsLayer::init @ 0x14031f0f4", "LevelSettingsLayer::init @ 0x14031f165", "LevelSettingsLayer::init @ 0x14031f1d6", "<???> @ 0x1406d4c64"], "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"}