// // ScrollingLayer::create from 0x1400838b0 to 0x140083ac3 (531 bytes) // // 2 xrefs: // > FLAlertLayer::init @ 0x14005ac64 // > @ 0x1409123b0 // // This function is hookable on this platform (idp: pc, 32 bit: False, 64 bit: True! // // 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 11:25:56 +0000 // // Hidden C++ exception states: #wind=2 char *__fastcall ScrollingLayer::create(const struct cocos2d::CCSize *a1, const struct cocos2d::CCPoint *a2, float a3) { char *v5; // rsi __int64 v6; // rax __int64 v7; // rbx __int64 v8; // rax __int64 v9; // rdi struct cocos2d::CCLayerColor *v10; // rax __int64 v11; // rax char v13[8]; // [rsp+20h] [rbp-38h] BYREF char v14[8]; // [rsp+28h] [rbp-30h] BYREF char *v15; // [rsp+78h] [rbp+20h] BYREF v5 = (char *)operator new(0x260u); v15 = v5; cocos2d::CCLayerColor::CCLayerColor((cocos2d::CCLayerColor *)v5); *(_QWORD *)v5 = &ScrollingLayer::`vftable'; *((_QWORD *)v5 + 40) = &ScrollingLayer::`vftable'; *((_QWORD *)v5 + 41) = &ScrollingLayer::`vftable'; *((_QWORD *)v5 + 42) = &ScrollingLayer::`vftable'; *((_QWORD *)v5 + 43) = &ScrollingLayer::`vftable'; *((_QWORD *)v5 + 44) = &ScrollingLayer::`vftable'; *((_QWORD *)v5 + 51) = &ScrollingLayer::`vftable'; *((_QWORD *)v5 + 54) = &ScrollingLayer::`vftable'; cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)(v5 + 544)); cocos2d::CCSize::CCSize((cocos2d::CCSize *)(v5 + 552)); cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)(v5 + 560)); cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)(v5 + 568)); cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)(v5 + 576)); *((_DWORD *)v5 + 146) = 0; *((_DWORD *)v5 + 147) = -1; *((_QWORD *)v5 + 74) = 0; *((_QWORD *)v5 + 75) = 0; cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)v13, a2); v7 = v6; cocos2d::CCSize::CCSize((cocos2d::CCSize *)v14, a1); v9 = v8; LODWORD(v15) = 0; if ( cocos2d::CCLayerColor::initWithColor((cocos2d::CCLayerColor *)v5, (const struct cocos2d::_ccColor4B *)&v15) ) { *((float *)v5 + 146) = a3; cocos2d::CCPoint::operator=(v5 + 544, v7); LODWORD(v15) = 838860800; v10 = cocos2d::CCLayerColor::create((const struct cocos2d::_ccColor4B *)&v15); (*(void (__fastcall **)(char *, struct cocos2d::CCLayerColor *, __int64))(*(_QWORD *)v5 + 456LL))( v5, v10, 4294967294LL); v11 = cocos2d::CCLayer::create(); *((_QWORD *)v5 + 74) = v11; (*(void (__fastcall **)(char *, __int64, __int64))(*(_QWORD *)v5 + 456LL))(v5, v11, 0xFFFFFFFFLL); cocos2d::CCSize::operator=(v5 + 552, v9); cocos2d::CCObject::autorelease((cocos2d::CCObject *)v5); return v5; } else { (*(void (__fastcall **)(char *, __int64))(*(_QWORD *)v5 + 8LL))(v5, 1); return nullptr; } }
GD Web Decomp Icon

GD Web Decomp

Raw Source