{"type": "func", "start": 6443025648, "end": 6443025731, "name": "cocos2d::CCSprite::setDisplayFrameWithAnimationName", "pseudocode": "// \n// cocos2d::CCSprite::setDisplayFrameWithAnimationName from 0x18008c4f0 to 0x18008c543 (83 bytes)\n// \n// 7 xrefs:\n// > <???> @ 0x1800ebc78\n// > <???> @ 0x1800ec150\n// > <???> @ 0x1800eccd0\n// > <???> @ 0x180103b88\n// > <???> @ 0x180106b80\n// > <???> @ 0x1801438a8\n// > <???> @ 0x1801b5d6c\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::CCSprite::setDisplayFrameWithAnimationName(cocos2d::CCSprite *this, char *a2, int a3)\n{\n  cocos2d::CCShaderCache *v6; // rax\n  struct cocos2d::CCGLProgram *v7; // rax\n  struct cocos2d::CCString *v8; // rax\n\n  v6 = (cocos2d::CCShaderCache *)cocos2d::CCAnimationCache::sharedAnimationCache();\n  v7 = cocos2d::CCShaderCache::programForKey(v6, a2);\n  v8 = cocos2d::CCArray::stringAtIndex(*(cocos2d::CCArray **)&v7->m_uUniforms[1], a3);\n  ((void (__fastcall *)(cocos2d::CCSprite *, char *))this->setDisplayFrame)(this, v8->m_sString.m_data.m_bigStorage);\n}", "assembly": "; \n; cocos2d::CCSprite::setDisplayFrameWithAnimationName from 0x18008c4f0 to 0x18008c543 (83 bytes)\n; \n; 7 xrefs:\n; > <???> @ 0x1800ebc78\n; > <???> @ 0x1800ec150\n; > <???> @ 0x1800eccd0\n; > <???> @ 0x180103b88\n; > <???> @ 0x180106b80\n; > <???> @ 0x1801438a8\n; > <???> @ 0x1801b5d6c\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, 0x18008c4f0\nmov     [rsp+arg_8], rsi                                               ; +0x5, 0x18008c4f5\npush    rdi                                                            ; +0xa, 0x18008c4fa\nsub     rsp, 20h                                                       ; +0xb, 0x18008c4fb\nmov     edi, r8d                                                       ; +0xf, 0x18008c4ff\nmov     rbx, rdx                                                       ; +0x12, 0x18008c502\nmov     rsi, rcx                                                       ; +0x15, 0x18008c505\ncall    ?sharedAnimationCache@CCAnimationCache@cocos2d@@SAPEAV12@XZ; cocos2d::CCAnimationCache::sharedAnimationCache(void) ; +0x18, 0x18008c508\nmov     rcx, rax; this                                                 ; +0x1d, 0x18008c50d\nmov     rdx, rbx; char *                                               ; +0x20, 0x18008c510\ncall    ?programForKey@CCShaderCache@cocos2d@@QEAAPEAVCCGLProgram@2@PEBD@Z; cocos2d::CCShaderCache::programForKey(char const *) ; +0x23, 0x18008c513\nmov     edx, edi; unsigned int                                         ; +0x28, 0x18008c518\nmov     rcx, [rax+48h]; this                                           ; +0x2a, 0x18008c51a\ncall    ?stringAtIndex@CCArray@cocos2d@@QEAAPEAVCCString@2@I@Z; cocos2d::CCArray::stringAtIndex(uint) ; +0x2e, 0x18008c51e\nmov     r8, [rsi]                                                      ; +0x33, 0x18008c523\nmov     rcx, rsi                                                       ; +0x36, 0x18008c526\nmov     rdx, [rax+38h]                                                 ; +0x39, 0x18008c529\nmov     rbx, [rsp+28h+arg_0]                                           ; +0x3d, 0x18008c52d\nmov     rsi, [rsp+28h+arg_8]                                           ; +0x42, 0x18008c532\nadd     rsp, 20h                                                       ; +0x47, 0x18008c537\npop     rdi                                                            ; +0x4b, 0x18008c53b\njmp     qword ptr [r8+3E0h]                                            ; +0x4c, 0x18008c53c", "xrefs": ["<???> @ 0x1800ebc78", "<???> @ 0x1800ec150", "<???> @ 0x1800eccd0", "<???> @ 0x180103b88", "<???> @ 0x180106b80", "<???> @ 0x1801438a8", "<???> @ 0x1801b5d6c"], "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"}