// // cocos2d::CCShatteredTiles3D::create from 0x18003b040 to 0x18003b148 (264 bytes) // // 2 xrefs: // > @ 0x18014cf68 // > @ 0x1801baf84 // // 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 // struct cocos2d::CCShatteredTiles3D *__fastcall cocos2d::CCShatteredTiles3D::create( float a1, const struct cocos2d::CCSize *a2, unsigned int a3, char a4) { cocos2d::CCGridAction *v7; // rax cocos2d::CCGridAction *v8; // rbx bool (__fastcall *v9)(cocos2d::CCShatteredTiles3D *__hidden, float, const struct cocos2d::CCSize *, int, bool); // rdx char v10; // al v7 = (cocos2d::CCGridAction *)sub_1800E4AC0(0x70u); v8 = v7; if ( v7 ) { *(_OWORD *)v7 = 0; *((_OWORD *)v7 + 1) = 0; *((_OWORD *)v7 + 2) = 0; *((_OWORD *)v7 + 3) = 0; *((_OWORD *)v7 + 4) = 0; *((_OWORD *)v7 + 5) = 0; *((_OWORD *)v7 + 6) = 0; cocos2d::CCAction::CCAction(v7); *((_DWORD *)v8 + 20) = 0; *(_QWORD *)v8 = &cocos2d::CCGridAction::`vftable'; cocos2d::CCSize::CCSize((cocos2d::CCGridAction *)((char *)v8 + 96)); *(_QWORD *)v8 = &cocos2d::CCShatteredTiles3D::`vftable'; } else { v8 = nullptr; } if ( !v8 ) return v8; v9 = *(bool (__fastcall **)(cocos2d::CCShatteredTiles3D *__hidden, float, const struct cocos2d::CCSize *, int, bool))(*(_QWORD *)v8 + 128LL); if ( v9 == cocos2d::CCShatteredTiles3D::initWithDuration ) { if ( cocos2d::CCGridAction::initWithDuration(v8, a1, a2) ) { *((_BYTE *)v8 + 108) = 0; *((_DWORD *)v8 + 26) = a3; *((_BYTE *)v8 + 109) = a4; v10 = 1; } else { v10 = 0; } } else { v10 = ((__int64 (__fastcall *)(cocos2d::CCGridAction *, bool (__fastcall *)(cocos2d::CCShatteredTiles3D *__hidden, float, const struct cocos2d::CCSize *, int, bool), const struct cocos2d::CCSize *, _QWORD, char))v9)( v8, v9, a2, a3, a4); } if ( v10 ) { cocos2d::CCObject::autorelease(v8); return v8; } cocos2d::CCObject::release(v8); return nullptr; }
GD Web Decomp Icon

GD Web Decomp

Raw Source