// // ScrollingLayer::create from 0x5a967c to 0x5a9808 (396 bytes) // // 2 xrefs: // > FLAlertLayer::init @ 0x57e5a8 // > @ 0x51c90 // // 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 // ScrollingLayer *ScrollingLayer::create(cocos2d::CCSize a1, cocos2d::CCPoint a2, float a3) { const cocos2d::CCSize *v3; // x0 const cocos2d::CCPoint *v4; // x1 const cocos2d::CCPoint *v5; // x23 float width; // s8 const cocos2d::CCSize *v7; // x22 __int64 v8; // x19 float v9; // s4 __int64 v10; // x1 __int64 v11; // x0 cocos2d::CCSize v13; // [xsp+48h] [xbp+48h] BYREF cocos2d::CCPoint v14; // [xsp+50h] [xbp+50h] BYREF cocos2d::CCSize v15; // 0:s0.4,4:s1.4 cocos2d::CCPoint v16; // 0:s2.4,4:s3.4 v5 = v4; width = a1.width; v7 = v3; v8 = operator new(0x260u); cocos2d::CCLayerColor::CCLayerColor((cocos2d::CCLayerColor *)v8); *(_QWORD *)v8 = &off_1143F70; *(_QWORD *)(v8 + 320) = off_1144488; *(_QWORD *)(v8 + 328) = &off_11444F8; *(_QWORD *)(v8 + 336) = off_1144510; *(_QWORD *)(v8 + 344) = &off_1144530; *(_QWORD *)(v8 + 352) = off_1144550; *(_QWORD *)(v8 + 408) = &off_1144578; *(_QWORD *)(v8 + 432) = &off_11445F8; cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)(v8 + 544)); cocos2d::CCSize::CCSize((cocos2d::CCSize *)(v8 + 552)); cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)(v8 + 560)); cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)(v8 + 568)); cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)(v8 + 576)); *(_DWORD *)(v8 + 588) = -1; *(_QWORD *)(v8 + 592) = 0; *(_QWORD *)(v8 + 600) = 0; *(_DWORD *)(v8 + 584) = 0; cocos2d::CCSize::CCSize(&v13, v7); cocos2d::CCPoint::CCPoint(&v14, v5); v15.width = width; if ( ScrollingLayer::init((ScrollingLayer *)v8, v15, v16, v9) ) { cocos2d::CCObject::autorelease((cocos2d::CCObject *)v8); } else { v10 = *(_QWORD *)v8; v11 = v8; v8 = 0; (*(void (__fastcall **)(__int64))(v10 + 16))(v11); } return (ScrollingLayer *)v8; }
GD Web Decomp Icon

GD Web Decomp

Raw Source