// // cocos2d::CCGridAction::create from 0x18002aea0 to 0x18002afb3 (275 bytes) // // 3 xrefs: // > @ 0x1801438a8 // > @ 0x1801afaa8 // > @ 0x1801afab4 // // 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 // // Hidden C++ exception states: #wind=2 struct cocos2d::CCGridAction *__fastcall cocos2d::CCGridAction::create(float a1, struct cocos2d::CCSize *a2) { void *v3; // rbx bool (__fastcall *v4)(cocos2d::CCGridAction *__hidden, float, const struct cocos2d::CCSize *); // rdx cocos2d::CCAction *(__fastcall *v6)(cocos2d::CCAction *, char); // r8 v3 = operator new(0x68u); if ( v3 ) { *(_OWORD *)v3 = 0; *((_OWORD *)v3 + 1) = 0; *((_OWORD *)v3 + 2) = 0; *((_OWORD *)v3 + 3) = 0; *((_OWORD *)v3 + 4) = 0; *((_OWORD *)v3 + 5) = 0; *((_QWORD *)v3 + 12) = 0; cocos2d::CCAction::CCAction((cocos2d::CCAction *)v3); *((_DWORD *)v3 + 20) = 0; *(_QWORD *)v3 = &cocos2d::CCGridAction::`vftable'; cocos2d::CCSize::CCSize((cocos2d::CCSize *)v3 + 12); } else { v3 = nullptr; } if ( !v3 ) return (struct cocos2d::CCGridAction *)v3; v4 = *(bool (__fastcall **)(cocos2d::CCGridAction *__hidden, float, const struct cocos2d::CCSize *))(*(_QWORD *)v3 + 112LL); if ( v4 == cocos2d::CCGridAction::initWithDuration ) { if ( cocos2d::CCActionInterval::initWithDuration((cocos2d::CCActionInterval *)v3, a1) ) { cocos2d::CCSize::operator=((_DWORD *)v3 + 24, a2); LABEL_9: cocos2d::CCObject::autorelease((cocos2d::CCObject *)v3); return (struct cocos2d::CCGridAction *)v3; } } else if ( ((unsigned __int8 (__fastcall *)(void *, bool (__fastcall *)(cocos2d::CCGridAction *__hidden, float, const struct cocos2d::CCSize *), struct cocos2d::CCSize *))v4)( v3, v4, a2) ) { goto LABEL_9; } v6 = *(cocos2d::CCAction *(__fastcall **)(cocos2d::CCAction *, char))(*(_QWORD *)v3 + 8LL); if ( v6 == sub_18002AA50 ) sub_18002AA50((cocos2d::CCAction *)v3, 1); else v6((cocos2d::CCAction *)v3, 1); return nullptr; }
GD Web Decomp Icon

GD Web Decomp

Raw Source