{"type": "func", "start": 6442496144, "end": 6442496219, "name": "cocos2d::extension::CCControlSlider::setBackgroundSprite", "pseudocode": "// \n// cocos2d::extension::CCControlSlider::setBackgroundSprite from 0x18000b090 to 0x18000b0db (75 bytes)\n// \n// 2 xrefs:\n// > <???> @ 0x18002fdf8\n// > <???> @ 0x180049c3c\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 cocos2d::extension::CCControlSlider::setBackgroundSprite(\n        cocos2d::extension::CCControlSlider *this,\n        struct cocos2d::CCSprite *a2)\n{\n  cocos2d::CCObject *v4; // rcx\n\n  if ( *((struct cocos2d::CCSprite **)this + 64) != a2 )\n  {\n    if ( a2 )\n      cocos2d::CCObject::retain(a2);\n    v4 = *((cocos2d::CCObject **)this + 64);\n    if ( v4 )\n      cocos2d::CCObject::release(v4);\n    *((_QWORD *)this + 64) = a2;\n  }\n}", "assembly": "; \n; cocos2d::extension::CCControlSlider::setBackgroundSprite from 0x18000b090 to 0x18000b0db (75 bytes)\n; \n; 2 xrefs:\n; > <???> @ 0x18002fdf8\n; > <???> @ 0x180049c3c\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, 0x18000b090\npush    rdi                                                            ; +0x5, 0x18000b095\nsub     rsp, 20h                                                       ; +0x6, 0x18000b096\nmov     rbx, rdx                                                       ; +0xa, 0x18000b09a\nmov     rdi, rcx                                                       ; +0xd, 0x18000b09d\ncmp     [rcx+200h], rdx                                                ; +0x10, 0x18000b0a0\njz      short loc_18000B0D0                                            ; +0x17, 0x18000b0a7\ntest    rdx, rdx                                                       ; +0x19, 0x18000b0a9\njz      short loc_18000B0B7                                            ; +0x1c, 0x18000b0ac\nmov     rcx, rdx                                                       ; +0x1e, 0x18000b0ae\ncall    cs:?retain@CCObject@cocos2d@@QEAAXXZ; cocos2d::CCObject::retain(void) ; +0x21, 0x18000b0b1\nmov     rcx, [rdi+200h]                                                ; +0x27, 0x18000b0b7\ntest    rcx, rcx                                                       ; +0x2e, 0x18000b0be\njz      short loc_18000B0C9                                            ; +0x31, 0x18000b0c1\ncall    cs:?release@CCObject@cocos2d@@QEAAXXZ; cocos2d::CCObject::release(void) ; +0x33, 0x18000b0c3\nmov     [rdi+200h], rbx                                                ; +0x39, 0x18000b0c9\nmov     rbx, [rsp+28h+arg_0]                                           ; +0x40, 0x18000b0d0\nadd     rsp, 20h                                                       ; +0x45, 0x18000b0d5\npop     rdi                                                            ; +0x49, 0x18000b0d9\nretn                                                                   ; +0x4a, 0x18000b0da", "xrefs": ["<???> @ 0x18002fdf8", "<???> @ 0x180049c3c"], "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"}