// // cocos2d::CCShuffleTiles::create from 0x18003b150 to 0x18003b251 (257 bytes) // // 2 xrefs: // > @ 0x18014cf68 // > @ 0x1801baf90 // // 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:21:37 +0000 // // Hidden C++ exception states: #wind=2 struct cocos2d::CCShuffleTiles *__fastcall cocos2d::CCShuffleTiles::create( float a1, const struct cocos2d::CCSize *a2, unsigned int a3) { cocos2d::CCGridAction *v5; // rax cocos2d::CCGridAction *v6; // rbx bool (__fastcall *v7)(cocos2d::CCShuffleTiles *__hidden, float, const struct cocos2d::CCSize *, unsigned int); // rdx char v8; // al v5 = (cocos2d::CCGridAction *)sub_1800E4AC0(0x80u); v6 = v5; if ( v5 ) { *(_OWORD *)v5 = 0; *((_OWORD *)v5 + 1) = 0; *((_OWORD *)v5 + 2) = 0; *((_OWORD *)v5 + 3) = 0; *((_OWORD *)v5 + 4) = 0; *((_OWORD *)v5 + 5) = 0; *((_OWORD *)v5 + 6) = 0; *((_OWORD *)v5 + 7) = 0; cocos2d::CCAction::CCAction(v5); *((_DWORD *)v6 + 20) = 0; *(_QWORD *)v6 = &cocos2d::CCGridAction::`vftable'; cocos2d::CCSize::CCSize((cocos2d::CCGridAction *)((char *)v6 + 96)); *(_QWORD *)v6 = &cocos2d::CCShuffleTiles::`vftable'; } else { v6 = nullptr; } if ( !v6 ) return v6; v7 = *(bool (__fastcall **)(cocos2d::CCShuffleTiles *__hidden, float, const struct cocos2d::CCSize *, unsigned int))(*(_QWORD *)v6 + 128LL); if ( v7 == cocos2d::CCShuffleTiles::initWithDuration ) { if ( cocos2d::CCGridAction::initWithDuration(v6, a1, a2) ) { *((_DWORD *)v6 + 26) = a3; *((_QWORD *)v6 + 14) = 0; *((_QWORD *)v6 + 15) = 0; v8 = 1; } else { v8 = 0; } } else { v8 = ((__int64 (__fastcall *)(cocos2d::CCGridAction *, bool (__fastcall *)(cocos2d::CCShuffleTiles *__hidden, float, const struct cocos2d::CCSize *, unsigned int), const struct cocos2d::CCSize *, _QWORD))v7)( v6, v7, a2, a3); } if ( v8 ) { cocos2d::CCObject::autorelease(v6); return v6; } cocos2d::CCObject::release(v6); return nullptr; }
GD Web Decomp Icon

GD Web Decomp

Raw Source