// // sub_100342320 from 0x100342320 to 0x1003423f0 (208 bytes) // // 4 xrefs: // > cocos2d::CCSpriteBatchNode::visit @ 0x1001d7360 // > cocos2d::CCNode::visit @ 0x10023bfa4 // > ShaderLayer::visit @ 0x10027337c // > cocos2d::CCRenderTexture::visit @ 0x1003c0b40 // // 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 // __int64 __fastcall sub_100342320(__int64 a1, __int64 a2) { cocos2d::CCDirector *v4; // x0 __int64 *v5; // x0 cocos2d::CCCamera *v6; // x0 unsigned int v7; // w0 __int64 v9; // [xsp+8h] [xbp-18h] BYREF sub_100043B78(*(_QWORD *)(a1 + 88)); v4 = cocos2d::CCDirector::sharedDirector(); cocos2d::CCDirector::setProjection(v4, *(cocos2d::ccDirectorProjection *)(a1 + 112)); if ( *(_BYTE *)((*(__int64 (__fastcall **)(__int64))(*(_QWORD *)a2 + 656LL))(a2) + 92) == 1 ) { v5 = (__int64 *)(*(__int64 (__fastcall **)(__int64))(*(_QWORD *)a2 + 296LL))(a2); sub_1000229B8(&v9, v5); sub_1001686EC(); v6 = (cocos2d::CCCamera *)(*(__int64 (__fastcall **)(__int64))(*(_QWORD *)a2 + 656LL))(a2); cocos2d::CCCamera::locate(v6); sub_1001686EC(); } v7 = (*(__int64 (__fastcall **)(_QWORD))(**(_QWORD **)(a1 + 72) + 104LL))(*(_QWORD *)(a1 + 72)); cocos2d::ccGLBindTexture2D(v7); return (*(__int64 (__fastcall **)(__int64))(*(_QWORD *)a1 + 80LL))(a1); }
GD Web Decomp Icon

GD Web Decomp

Raw Source