{"type": "func", "start": 6442835136, "end": 6442835186, "name": "cocos2d::CCMenuItemImage::setSelectedSpriteFrame", "pseudocode": "// \n// cocos2d::CCMenuItemImage::setSelectedSpriteFrame from 0x18005dcc0 to 0x18005dcf2 (50 bytes)\n// \n// 2 xrefs:\n// > <???> @ 0x18014cf68\n// > <???> @ 0x1801bd228\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:21:49 +0000\n// \n\nvoid __fastcall cocos2d::CCMenuItemImage::setSelectedSpriteFrame(\n        cocos2d::CCMenuItemImage *this,\n        struct cocos2d::CCSpriteFrame *a2)\n{\n  __int64 v2; // rbx\n  struct cocos2d::CCSprite *v4; // rax\n\n  v2 = *(_QWORD *)this;\n  v4 = cocos2d::CCSprite::createWithSpriteFrame(a2);\n  (*(void (__fastcall **)(cocos2d::CCMenuItemImage *, struct cocos2d::CCSprite *))(v2 + 976))(this, v4);\n}", "assembly": "; \n; cocos2d::CCMenuItemImage::setSelectedSpriteFrame from 0x18005dcc0 to 0x18005dcf2 (50 bytes)\n; \n; 2 xrefs:\n; > <???> @ 0x18014cf68\n; > <???> @ 0x1801bd228\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:21:49 +0000\n; \nmov     [rsp+arg_0], rbx                                               ; +0x0, 0x18005dcc0\npush    rdi                                                            ; +0x5, 0x18005dcc5\nsub     rsp, 20h                                                       ; +0x6, 0x18005dcc6\nmov     rbx, [rcx]                                                     ; +0xa, 0x18005dcca\nmov     rdi, rcx                                                       ; +0xd, 0x18005dccd\nmov     rcx, rdx; struct cocos2d::CCSpriteFrame *                      ; +0x10, 0x18005dcd0\ncall    ?createWithSpriteFrame@CCSprite@cocos2d@@SAPEAV12@PEAVCCSpriteFrame@2@@Z; cocos2d::CCSprite::createWithSpriteFrame(cocos2d::CCSpriteFrame *) ; +0x13, 0x18005dcd3\nmov     rdx, rax                                                       ; +0x18, 0x18005dcd8\nmov     rcx, rdi                                                       ; +0x1b, 0x18005dcdb\nmov     rax, [rbx+3D0h]                                                ; +0x1e, 0x18005dcde\nmov     rbx, [rsp+28h+arg_0]                                           ; +0x25, 0x18005dce5\nadd     rsp, 20h                                                       ; +0x2a, 0x18005dcea\npop     rdi                                                            ; +0x2e, 0x18005dcee\njmp     rax                                                            ; +0x2f, 0x18005dcef", "xrefs": ["<???> @ 0x18014cf68", "<???> @ 0x1801bd228"], "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"}