// // cocos2d::CCSpriteBatchNode::setTexture from 0x18008f030 to 0x18008f074 (68 bytes) // // 5 xrefs: // > @ 0x1800ec640 // > @ 0x180104008 // > @ 0x180105d90 // > @ 0x1801438a8 // > @ 0x1801b6108 // // This function is hookable on this platform! // // Using BromaIDA 8.0.0 @ https://github.com/Stazzical/BromaIDA // Using bindings at commit ba9f177b at Thu Jul 16 22:52:06 2026 from https://github.com/geode-sdk/bindings // void __fastcall cocos2d::CCSpriteBatchNode::setTexture( cocos2d::CCSpriteBatchNode *this, struct cocos2d::CCTexture2D *a2) { cocos2d::CCCamera *v3; // rax bool isDirty; // al int v5; // ecx (*(void (__fastcall **)(_QWORD, struct cocos2d::CCTexture2D *))(**(_QWORD **)&this->m_uID + 96LL))( *(_QWORD *)&this->m_uID, a2); v3 = (cocos2d::CCCamera *)(*(__int64 (__fastcall **)(_QWORD))(**(_QWORD **)&this->m_uID + 88LL))(*(_QWORD *)&this->m_uID); isDirty = cocos2d::CCCamera::isDirty(v3); v5 = 770; if ( isDirty ) v5 = 1; this->m_nTag = v5; this->m_uReference = 771; }