{"type": "func", "start": 5373275056, "end": 5373275163, "name": "LevelSettingsLayer::onShowPicker", "pseudocode": "// \n// LevelSettingsLayer::onShowPicker from 0x14045abb0 to 0x14045ac1b (107 bytes)\n// \n// 7 xrefs:\n// > LevelSettingsLayer::init @ 0x1404580da\n// > LevelSettingsLayer::init @ 0x140458156\n// > LevelSettingsLayer::init @ 0x1404581d3\n// > LevelSettingsLayer::init @ 0x14045824f\n// > LevelSettingsLayer::init @ 0x1404582cb\n// > LevelSettingsLayer::init @ 0x140458347\n// > <???> @ 0x140927c68\n// \n// This function is hookable on this platform (idp: pc, 32 bit: False, 64 bit: True!\n// \n// Using BromaIDA 8.3.0 @ https://github.com/Stazzical/BromaIDA\n// Using bindings at commit 1c6ec395 at Thu Nov 26 21:29:22 2026 from https://github.com/geode-sdk/bindings\n// Generated at Fri, 27 Nov 2026 11:32:31 +0000\n// \n\n__int64 __fastcall LevelSettingsLayer::onShowPicker(__int64 a1, __int64 a2)\n{\n  __int64 v3; // rbx\n  int v4; // eax\n  char *ColorAction; // rax\n  char *v6; // rax\n  __int64 v7; // rcx\n\n  v3 = *(_QWORD *)(*(_QWORD *)(a1 + 816) + 320LL);\n  v4 = (*(__int64 (__fastcall **)(__int64))(*(_QWORD *)a2 + 56LL))(a2);\n  ColorAction = GJEffectManager::getColorAction(v3, v4);\n  v6 = ColorSelectPopup::create(0, 0, (__int64)ColorAction);\n  v7 = a1 + 664;\n  if ( !a1 )\n    v7 = 0;\n  *((_QWORD *)v6 + 138) = v7;\n  return (*(__int64 (__fastcall **)(char *))(*(_QWORD *)v6 + 1064LL))(v6);\n}", "assembly": "; \n; LevelSettingsLayer::onShowPicker from 0x14045abb0 to 0x14045ac1b (107 bytes)\n; \n; 7 xrefs:\n; > LevelSettingsLayer::init @ 0x1404580da\n; > LevelSettingsLayer::init @ 0x140458156\n; > LevelSettingsLayer::init @ 0x1404581d3\n; > LevelSettingsLayer::init @ 0x14045824f\n; > LevelSettingsLayer::init @ 0x1404582cb\n; > LevelSettingsLayer::init @ 0x140458347\n; > <???> @ 0x140927c68\n; \n; This function is hookable on this platform (idp: pc, 32 bit: False, 64 bit: True!\n; \n; Using BromaIDA 8.3.0 @ https://github.com/Stazzical/BromaIDA\n; Using bindings at commit 1c6ec395 at Thu Nov 26 21:29:22 2026 from https://github.com/geode-sdk/bindings\n; Generated at Fri, 27 Nov 2026 11:32:31 +0000\n; \nmov     [rsp+arg_0], rbx                                               ; +0x0, 0x14045abb0\npush    rdi                                                            ; +0x5, 0x14045abb5\nsub     rsp, 20h                                                       ; +0x6, 0x14045abb6\nmov     rax, [rcx+330h]                                                ; +0xa, 0x14045abba\nmov     rdi, rcx                                                       ; +0x11, 0x14045abc1\nmov     rcx, rdx                                                       ; +0x14, 0x14045abc4\nmov     rbx, [rax+140h]                                                ; +0x17, 0x14045abc7\nmov     rax, [rdx]                                                     ; +0x1e, 0x14045abce\ncall    qword ptr [rax+38h]                                            ; +0x21, 0x14045abd1\nmov     edx, eax                                                       ; +0x24, 0x14045abd4\nmov     rcx, rbx                                                       ; +0x26, 0x14045abd6\ncall    GJEffectManager__getColorAction                                ; +0x29, 0x14045abd9\nmov     r8, rax                                                        ; +0x2e, 0x14045abde\nxor     edx, edx                                                       ; +0x31, 0x14045abe1\nxor     ecx, ecx                                                       ; +0x33, 0x14045abe3\ncall    ColorSelectPopup__create                                       ; +0x35, 0x14045abe5\nxor     edx, edx                                                       ; +0x3a, 0x14045abea\nlea     rcx, [rdi+298h]                                                ; +0x3c, 0x14045abec\ntest    rdi, rdi                                                       ; +0x43, 0x14045abf3\ncmovz   rcx, rdx                                                       ; +0x46, 0x14045abf6\nmov     [rax+450h], rcx                                                ; +0x4a, 0x14045abfa\nmov     rcx, [rax]                                                     ; +0x51, 0x14045ac01\nmov     rdx, [rcx+428h]                                                ; +0x54, 0x14045ac04\nmov     rcx, rax                                                       ; +0x5b, 0x14045ac0b\nmov     rbx, [rsp+28h+arg_0]                                           ; +0x5e, 0x14045ac0e\nadd     rsp, 20h                                                       ; +0x63, 0x14045ac13\npop     rdi                                                            ; +0x67, 0x14045ac17\njmp     rdx                                                            ; +0x68, 0x14045ac18", "xrefs": ["LevelSettingsLayer::init @ 0x1404580da", "LevelSettingsLayer::init @ 0x140458156", "LevelSettingsLayer::init @ 0x1404581d3", "LevelSettingsLayer::init @ 0x14045824f", "LevelSettingsLayer::init @ 0x1404582cb", "LevelSettingsLayer::init @ 0x140458347", "<???> @ 0x140927c68"], "is_objc": false, "is_32_bit": false, "is_64_bit": true, "idp_name": "pc", "bida_info": "8.3.0 @ https://github.com/Stazzical/BromaIDA", "bindings_info": "commit 1c6ec395 at Thu Nov 26 21:29:22 2026 from https://github.com/geode-sdk/bindings"}