{"type": "func", "start": 5373371376, "end": 5373371455, "name": "SetupArtSwitchPopup::onArt", "pseudocode": "// \n// SetupArtSwitchPopup::onArt from 0x1404723f0 to 0x14047243f (79 bytes)\n// \n// 2 xrefs:\n// > SetupArtSwitchPopup::init @ 0x1404722cf\n// > <???> @ 0x1406db33c\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 SetupArtSwitchPopup::onArt(SetupArtSwitchPopup *a1, cocos2d::CCObject *a2)\n{\n  float v3; // xmm0_4\n  SelectArtLayer *v4; // rax\n  SelectArtDelegate *v5; // rdx\n\n  v3 = a1->getValue(a1, 533);\n  v4 = SelectArtLayer::create(a1->m_artType, (int)v3);\n  v5 = &a1->SelectArtDelegate;\n  if ( !a1 )\n    v5 = nullptr;\n  v4->m_delegate = v5;\n  v4->show(v4);\n}", "assembly": "; \n; SetupArtSwitchPopup::onArt from 0x1404723f0 to 0x14047243f (79 bytes)\n; \n; 2 xrefs:\n; > SetupArtSwitchPopup::init @ 0x1404722cf\n; > <???> @ 0x1406db33c\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, 0x1404723f0\nsub     rsp, 20h                                                       ; +0x2, 0x1404723f2\nmov     rax, [rcx]                                                     ; +0x6, 0x1404723f6\nmov     edx, 215h                                                      ; +0x9, 0x1404723f9\nmov     rbx, rcx                                                       ; +0xe, 0x1404723fe\ncall    qword ptr [rax+470h]                                           ; +0x11, 0x140472401\nmov     ecx, [rbx+3B0h]                                                ; +0x17, 0x140472407\ncvttss2si edx, xmm0                                                    ; +0x1d, 0x14047240d\ncall    SelectArtLayer__create                                         ; +0x21, 0x140472411\nxor     ecx, ecx                                                       ; +0x26, 0x140472416\nlea     rdx, [rbx+3A8h]                                                ; +0x28, 0x140472418\ntest    rbx, rbx                                                       ; +0x2f, 0x14047241f\ncmovz   rdx, rcx                                                       ; +0x32, 0x140472422\nmov     rcx, rax                                                       ; +0x36, 0x140472426\nmov     [rax+298h], rdx                                                ; +0x39, 0x140472429\nmov     rdx, [rax]                                                     ; +0x40, 0x140472430\nadd     rsp, 20h                                                       ; +0x43, 0x140472433\npop     rbx                                                            ; +0x47, 0x140472437\njmp     qword ptr [rdx+410h]                                           ; +0x48, 0x140472438", "xrefs": ["SetupArtSwitchPopup::init @ 0x1404722cf", "<???> @ 0x1406db33c"], "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"}