{"type": "func", "start": 6443016720, "end": 6443016784, "name": "cocos2d::CCAnimationFrame::setSpriteFrame", "pseudocode": "// \n// cocos2d::CCAnimationFrame::setSpriteFrame from 0x18008a210 to 0x18008a250 (64 bytes)\n// \n// 3 xrefs:\n// > <???> @ 0x1801438a8\n// > <???> @ 0x1801b5a30\n// > <???> @ 0x1801b5a3c\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::CCAnimationFrame::setSpriteFrame(\n        cocos2d::CCAnimationFrame *this,\n        struct cocos2d::CCSpriteFrame *a2)\n{\n  cocos2d::CCObject *v4; // rcx\n\n  if ( *((struct cocos2d::CCSpriteFrame **)this + 7) != a2 )\n  {\n    if ( a2 )\n      cocos2d::CCObject::retain(a2);\n    v4 = *((cocos2d::CCObject **)this + 7);\n    if ( v4 )\n      cocos2d::CCObject::release(v4);\n    *((_QWORD *)this + 7) = a2;\n  }\n}", "assembly": "; \n; cocos2d::CCAnimationFrame::setSpriteFrame from 0x18008a210 to 0x18008a250 (64 bytes)\n; \n; 3 xrefs:\n; > <???> @ 0x1801438a8\n; > <???> @ 0x1801b5a30\n; > <???> @ 0x1801b5a3c\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, 0x18008a210\npush    rdi                                                            ; +0x5, 0x18008a215\nsub     rsp, 20h                                                       ; +0x6, 0x18008a216\nmov     rbx, rdx                                                       ; +0xa, 0x18008a21a\nmov     rdi, rcx                                                       ; +0xd, 0x18008a21d\ncmp     [rcx+38h], rdx                                                 ; +0x10, 0x18008a220\njz      short loc_18008A245                                            ; +0x14, 0x18008a224\ntest    rdx, rdx                                                       ; +0x16, 0x18008a226\njz      short loc_18008A233                                            ; +0x19, 0x18008a229\nmov     rcx, rdx; this                                                 ; +0x1b, 0x18008a22b\ncall    ?retain@CCObject@cocos2d@@QEAAXXZ; cocos2d::CCObject::retain(void) ; +0x1e, 0x18008a22e\nmov     rcx, [rdi+38h]; this                                           ; +0x23, 0x18008a233\ntest    rcx, rcx                                                       ; +0x27, 0x18008a237\njz      short loc_18008A241                                            ; +0x2a, 0x18008a23a\ncall    ?release@CCObject@cocos2d@@QEAAXXZ; cocos2d::CCObject::release(void) ; +0x2c, 0x18008a23c\nmov     [rdi+38h], rbx                                                 ; +0x31, 0x18008a241\nmov     rbx, [rsp+28h+arg_0]                                           ; +0x35, 0x18008a245\nadd     rsp, 20h                                                       ; +0x3a, 0x18008a24a\npop     rdi                                                            ; +0x3e, 0x18008a24e\nretn                                                                   ; +0x3f, 0x18008a24f", "xrefs": ["<???> @ 0x1801438a8", "<???> @ 0x1801b5a30", "<???> @ 0x1801b5a3c"], "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"}