{"type": "func", "start": 5371993072, "end": 5371993142, "name": "LevelSettingsLayer::onBGArt", "pseudocode": "// \n// LevelSettingsLayer::onBGArt from 0x140321bf0 to 0x140321c36 (70 bytes)\n// \n// 2 xrefs:\n// > LevelSettingsLayer::init @ 0x14031fc2e\n// > <???> @ 0x1406d4c94\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::onBGArt(LevelSettingsLayer *a1, cocos2d::CCObject *a2)\n{\n  SelectArtLayer *v3; // rax\n  SelectArtDelegate *v4; // rdx\n\n  v3 = SelectArtLayer::create(Background, a1->m_settingsObject->m_backgroundIndex);\n  v4 = &a1->SelectArtDelegate;\n  if ( !a1 )\n    v4 = nullptr;\n  v3->m_delegate = v4;\n  v3->show(v3);\n}", "assembly": "; \n; LevelSettingsLayer::onBGArt from 0x140321bf0 to 0x140321c36 (70 bytes)\n; \n; 2 xrefs:\n; > LevelSettingsLayer::init @ 0x14031fc2e\n; > <???> @ 0x1406d4c94\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, 0x140321bf0\nsub     rsp, 20h                                                       ; +0x2, 0x140321bf2\nmov     rdx, [rcx+318h]                                                ; +0x6, 0x140321bf6\nmov     rbx, rcx                                                       ; +0xd, 0x140321bfd\nxor     ecx, ecx                                                       ; +0x10, 0x140321c00\nmov     edx, [rdx+160h]                                                ; +0x12, 0x140321c02\ncall    SelectArtLayer__create                                         ; +0x18, 0x140321c08\nxor     ecx, ecx                                                       ; +0x1d, 0x140321c0d\nlea     rdx, [rbx+280h]                                                ; +0x1f, 0x140321c0f\ntest    rbx, rbx                                                       ; +0x26, 0x140321c16\ncmovz   rdx, rcx                                                       ; +0x29, 0x140321c19\nmov     rcx, rax                                                       ; +0x2d, 0x140321c1d\nmov     [rax+298h], rdx                                                ; +0x30, 0x140321c20\nmov     rdx, [rax]                                                     ; +0x37, 0x140321c27\nadd     rsp, 20h                                                       ; +0x3a, 0x140321c2a\npop     rbx                                                            ; +0x3e, 0x140321c2e\njmp     qword ptr [rdx+410h]                                           ; +0x3f, 0x140321c2f", "xrefs": ["LevelSettingsLayer::init @ 0x14031fc2e", "<???> @ 0x1406d4c94"], "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"}