{"type": "func", "start": 4296099152, "end": 4296099200, "name": "GJBaseGameLayer::removeBackground", "pseudocode": "// \n// GJBaseGameLayer::removeBackground from 0x100114550 to 0x100114580 (48 bytes)\n// \n// 1 xrefs:\n// > LevelSettingsLayer::selectArtClosed @ 0x10026f3bd\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 __fastcall GJBaseGameLayer::removeBackground(GJBaseGameLayer *a1)\n{\n  cocos2d::CCSprite *m_background; // rdi\n\n  m_background = a1->m_background;\n  if ( m_background )\n  {\n    ((void (__fastcall *)(cocos2d::CCSprite *))m_background->removeFromParent)(m_background);\n    a1->m_background = nullptr;\n  }\n}", "assembly": "; \n; GJBaseGameLayer::removeBackground from 0x100114550 to 0x100114580 (48 bytes)\n; \n; 1 xrefs:\n; > LevelSettingsLayer::selectArtClosed @ 0x10026f3bd\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    rbp                                                            ; +0x0, 0x100114550\nmov     rbp, rsp                                                       ; +0x1, 0x100114551\npush    rbx                                                            ; +0x4, 0x100114554\npush    rax                                                            ; +0x5, 0x100114555\nmov     rbx, rdi                                                       ; +0x6, 0x100114556\nmov     rdi, [rdi+0ED0h]                                               ; +0x9, 0x100114559\ntest    rdi, rdi                                                       ; +0x10, 0x100114560\njz      short loc_100114579                                            ; +0x13, 0x100114563\nmov     rax, [rdi]                                                     ; +0x15, 0x100114565\ncall    qword ptr [rax+1F8h]                                           ; +0x18, 0x100114568\nmov     qword ptr [rbx+0ED0h], 0                                       ; +0x1e, 0x10011456e\nadd     rsp, 8                                                         ; +0x29, 0x100114579\npop     rbx                                                            ; +0x2d, 0x10011457d\npop     rbp                                                            ; +0x2e, 0x10011457e\nretn                                                                   ; +0x2f, 0x10011457f", "xrefs": ["LevelSettingsLayer::selectArtClosed @ 0x10026f3bd"], "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"}