// // cocos2d::CCSpriteBatchNode::insertQuadFromSprite from 0x7f2d8c to 0x7f2e28 (156 bytes) // // 2 xrefs: // > cocos2d::CCTMXLayer::insertTileForGID @ 0x8041f0 // > cocos2d::CCTMXLayer::appendTileForGID @ 0x804436 // // This function is hookable on this platform (idp: arm, 32 bit: True, 64 bit: False! // // Using BromaIDA 8.3.0 @ https://github.com/Stazzical/BromaIDA // Using bindings at commit 1c6ec395 at Thu Nov 26 21:29:22 2026 from https://github.com/geode-sdk/bindings // Generated at Fri, 27 Nov 2026 12:01:06 +0000 // int __fastcall cocos2d::CCSpriteBatchNode::insertQuadFromSprite( cocos2d::CCSpriteBatchNode *this, cocos2d::CCSprite *a2, unsigned int a3) { int v6; // r8 void *v7; // r0 _BYTE v9[96]; // [sp+4h] [bp-64h] BYREF while ( 1 ) { if ( a3 < (*(int (__fastcall **)(_DWORD))(**((_DWORD **)this + 67) + 44))(*((_DWORD *)this + 67)) ) { v6 = (*(int (__fastcall **)(_DWORD))(**((_DWORD **)this + 67) + 44))(*((_DWORD *)this + 67)); if ( v6 != (*(int (__fastcall **)(_DWORD))(**((_DWORD **)this + 67) + 40))(*((_DWORD *)this + 67)) ) break; } cocos2d::CCSpriteBatchNode::increaseAtlasCapacity(this); } (*(void (__fastcall **)(cocos2d::CCSprite *, cocos2d::CCSpriteBatchNode *))(*(_DWORD *)a2 + 560))(a2, this); *((_DWORD *)a2 + 72) = a3; v7 = memcpy(v9, (char *)a2 + 372, sizeof(v9)); cocos2d::CCTextureAtlas::insertQuad(*((_DWORD *)this + 67), v7); (*(void (__fastcall **)(cocos2d::CCSprite *, int))(*(_DWORD *)a2 + 600))(a2, 1); return (*(int (__fastcall **)(cocos2d::CCSprite *))(*(_DWORD *)a2 + 396))(a2); }
GD Web Decomp Icon

GD Web Decomp

Raw Source