// // cocos2d::CCWaves::create from 0x18002ce20 to 0x18002cf1e (254 bytes) // // 2 xrefs: // > @ 0x1801438a8 // > @ 0x1801afd3c // // 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 // struct cocos2d::CCWaves *__fastcall cocos2d::CCWaves::create( float a1, struct cocos2d::CCSize *a2, int a3, float a4, bool a5, bool a6) { void *v8; // rbx v8 = operator new(0x78u); if ( v8 ) { *(_OWORD *)v8 = 0; *((_OWORD *)v8 + 1) = 0; *((_OWORD *)v8 + 2) = 0; *((_OWORD *)v8 + 3) = 0; *((_OWORD *)v8 + 4) = 0; *((_OWORD *)v8 + 5) = 0; *((_OWORD *)v8 + 6) = 0; *((_QWORD *)v8 + 14) = 0; cocos2d::CCAction::CCAction((cocos2d::CCAction *)v8); *((_DWORD *)v8 + 20) = 0; *(_QWORD *)v8 = &cocos2d::CCGridAction::`vftable'; cocos2d::CCSize::CCSize((cocos2d::CCSize *)v8 + 12); *(_QWORD *)v8 = &cocos2d::CCWaves::`vftable'; } else { v8 = nullptr; } if ( !v8 ) return (struct cocos2d::CCWaves *)v8; if ( cocos2d::CCGridAction::initWithDuration((cocos2d::CCGridAction *)v8, a1, a2) ) { *((_DWORD *)v8 + 26) = a3; *((float *)v8 + 27) = a4; *((_DWORD *)v8 + 28) = 1065353216; *((_BYTE *)v8 + 117) = a5; *((_BYTE *)v8 + 116) = a6; cocos2d::CCObject::autorelease((cocos2d::CCObject *)v8); return (struct cocos2d::CCWaves *)v8; } cocos2d::CCObject::release((cocos2d::CCObject *)v8); return nullptr; }
GD Web Decomp Icon

GD Web Decomp

Raw Source