// // cocos2d::CCSpriteBatchNode::rebuildIndexInOrder from 0x7f26c2 to 0x7f2784 (194 bytes) // // 2 xrefs: // > cocos2d::CCSpriteBatchNode::rebuildIndexInOrder @ 0x7f275a // > cocos2d::CCSpriteBatchNode::rebuildIndexInOrder @ 0x7f2776 // // 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:05 +0000 // unsigned int __fastcall cocos2d::CCSpriteBatchNode::rebuildIndexInOrder( cocos2d::CCSpriteBatchNode *this, cocos2d::CCSprite *a2, unsigned int a3) { cocos2d::CCArray *v6; // r0 cocos2d::CCArray *v7; // r8 _DWORD *v8; // r2 cocos2d::CCSprite **v9; // r5 cocos2d::CCSprite **v10; // r9 cocos2d::CCSprite *v11; // r10 cocos2d::CCSprite *v12; // t1 _DWORD *v13; // r2 cocos2d::CCSprite **v14; // r6 cocos2d::CCSprite **v15; // r5 cocos2d::CCSprite *v16; // r8 cocos2d::CCSprite *v17; // t1 v6 = (cocos2d::CCArray *)(*(int (__fastcall **)(cocos2d::CCSprite *))(*(_DWORD *)a2 + 244))(a2); v7 = v6; if ( v6 ) { if ( cocos2d::CCArray::count(v6) ) { v8 = *((_DWORD **)v7 + 13); if ( *v8 ) { v9 = (cocos2d::CCSprite **)v8[3]; v10 = &v9[*v8] + 0x3FFFFFFF; while ( v9 <= v10 ) { v12 = *v9++; v11 = v12; if ( !v12 ) break; if ( (*(int (__fastcall **)(cocos2d::CCSprite *))(*(_DWORD *)v11 + 52))(v11) < 0 ) a3 = cocos2d::CCSpriteBatchNode::rebuildIndexInOrder(this, v11, a3); } } } } if ( !(*(int (__fastcall **)(cocos2d::CCSprite *, cocos2d::CCSpriteBatchNode *))(*(_DWORD *)a2 + 12))(a2, this) ) *((_DWORD *)a2 + 72) = a3++; if ( v7 ) { if ( cocos2d::CCArray::count(v7) ) { v13 = *((_DWORD **)v7 + 13); if ( *v13 ) { v14 = (cocos2d::CCSprite **)v13[3]; v15 = &v14[*v13] + 0x3FFFFFFF; while ( v14 <= v15 ) { v17 = *v14++; v16 = v17; if ( !v17 ) break; if ( (*(int (__fastcall **)(cocos2d::CCSprite *))(*(_DWORD *)v16 + 52))(v16) >= 0 ) a3 = cocos2d::CCSpriteBatchNode::rebuildIndexInOrder(this, v16, a3); } } } } return a3; }
GD Web Decomp Icon

GD Web Decomp

Raw Source