{"type": "func", "start": 6443023424, "end": 6443023482, "name": "cocos2d::CCSprite::initWithSpriteFrameName", "pseudocode": "// \n// cocos2d::CCSprite::initWithSpriteFrameName from 0x18008bc40 to 0x18008bc7a (58 bytes)\n// \n// 7 xrefs:\n// > <???> @ 0x1800ebc08\n// > <???> @ 0x1800ec0e0\n// > <???> @ 0x1800ecc60\n// > <???> @ 0x180103b18\n// > <???> @ 0x180106b10\n// > <???> @ 0x1801438a8\n// > <???> @ 0x1801b5ba4\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\nbool __fastcall cocos2d::CCSprite::initWithSpriteFrameName(cocos2d::CCSprite *this, const char *a2)\n{\n  cocos2d::CCSpriteFrameCache *v4; // rax\n  struct cocos2d::CCSpriteFrame *v5; // rax\n\n  v4 = cocos2d::CCSpriteFrameCache::sharedSpriteFrameCache();\n  v5 = cocos2d::CCSpriteFrameCache::spriteFrameByName(v4, a2);\n  return ((bool (__fastcall *)(cocos2d::CCSprite *, struct cocos2d::CCSpriteFrame *))this->initWithSpriteFrame)(\n           this,\n           v5);\n}", "assembly": "; \n; cocos2d::CCSprite::initWithSpriteFrameName from 0x18008bc40 to 0x18008bc7a (58 bytes)\n; \n; 7 xrefs:\n; > <???> @ 0x1800ebc08\n; > <???> @ 0x1800ec0e0\n; > <???> @ 0x1800ecc60\n; > <???> @ 0x180103b18\n; > <???> @ 0x180106b10\n; > <???> @ 0x1801438a8\n; > <???> @ 0x1801b5ba4\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, 0x18008bc40\npush    rdi                                                            ; +0x5, 0x18008bc45\nsub     rsp, 20h                                                       ; +0x6, 0x18008bc46\nmov     rbx, rdx                                                       ; +0xa, 0x18008bc4a\nmov     rdi, rcx                                                       ; +0xd, 0x18008bc4d\ncall    ?sharedSpriteFrameCache@CCSpriteFrameCache@cocos2d@@SAPEAV12@XZ; cocos2d::CCSpriteFrameCache::sharedSpriteFrameCache(void) ; +0x10, 0x18008bc50\nmov     rcx, rax; this                                                 ; +0x15, 0x18008bc55\nmov     rdx, rbx; char *                                               ; +0x18, 0x18008bc58\ncall    ?spriteFrameByName@CCSpriteFrameCache@cocos2d@@QEAAPEAVCCSpriteFrame@2@PEBD@Z; cocos2d::CCSpriteFrameCache::spriteFrameByName(char const *) ; +0x1b, 0x18008bc5b\nmov     r8, [rdi]                                                      ; +0x20, 0x18008bc60\nmov     rdx, rax                                                       ; +0x23, 0x18008bc63\nmov     rcx, rdi                                                       ; +0x26, 0x18008bc66\nmov     rbx, [rsp+28h+arg_0]                                           ; +0x29, 0x18008bc69\nadd     rsp, 20h                                                       ; +0x2e, 0x18008bc6e\npop     rdi                                                            ; +0x32, 0x18008bc72\njmp     qword ptr [r8+380h]                                            ; +0x33, 0x18008bc73", "xrefs": ["<???> @ 0x1800ebc08", "<???> @ 0x1800ec0e0", "<???> @ 0x1800ecc60", "<???> @ 0x180103b18", "<???> @ 0x180106b10", "<???> @ 0x1801438a8", "<???> @ 0x1801b5ba4"], "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"}