// // cocos2d::extension::CCScale9Sprite::initWithBatchNode_1 from 0x1003f3e50 to 0x1003f3ee5 (149 bytes) // // 1 xrefs: // > @ 0x100932ff0 // // 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 // // local variable allocation has failed, the output may be wrong! bool __fastcall cocos2d::extension::CCScale9Sprite::initWithBatchNode_1( cocos2d::extension::CCScale9Sprite *a1, cocos2d::CCSpriteBatchNode *a2, cocos2d::CCRect a3, bool a4, cocos2d::CCRect a5) { unsigned __int8 v5; // cl unsigned __int64 *v6; // r8 unsigned __int64 *v7; // r12 unsigned __int8 v8; // r15 double v9; // xmm0_8 __m128 v11; // [rsp+8h] [rbp-48h] BYREF __m128 v12[3]; // [rsp+18h] [rbp-38h] BYREF if ( a2 ) { v7 = v6; v8 = v5; sub_10028D180(v12, (unsigned __int64 *)a4); v9 = sub_10028D180(&v11, v7); ((void (__fastcall *)(cocos2d::extension::CCScale9Sprite *, cocos2d::CCSpriteBatchNode *, __m128 *, _QWORD, __m128 *, double, double, double, double))a1->updateWithBatchNode)( a1, a2, v12, v8, &v11, v9, *(double *)&a3.size, *(double *)&a5.origin, *(double *)&a5.size); sub_10028CBE0(v12[0].f32, 0.5, 0.5); ((void (__fastcall *)(cocos2d::extension::CCScale9Sprite *, __m128 *))a1->setAnchorPoint)(a1, v12); } a1->m_positionsAreDirty = 1; return 1; }
GD Web Decomp Icon

GD Web Decomp

Raw Source