// // cocos2d::extension::CCControlSwitch::create_1 from 0x1003a88c0 to 0x1003a89ad (237 bytes) // // 0 xrefs: // // 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 // cocos2d::extension::CCControlSwitch *__fastcall cocos2d::extension::CCControlSwitch::create_1( cocos2d::CCSprite *a1, cocos2d::CCSprite *a2, cocos2d::CCSprite *a3, cocos2d::CCSprite *a4) { char *v6; // rbx v6 = (char *)operator new(0x1E8u); cocos2d::extension::CCControl::CCControl((__int64)v6); *(_QWORD *)v6 = off_100928288; *((_QWORD *)v6 + 40) = off_1009287D8; *((_QWORD *)v6 + 41) = &off_100928848; *((_QWORD *)v6 + 42) = off_100928860; *((_QWORD *)v6 + 43) = off_100928880; *((_QWORD *)v6 + 44) = off_1009288A0; *((_QWORD *)v6 + 51) = off_1009288C8; *((_QWORD *)v6 + 59) = 0; *(_QWORD *)(v6 + 478) = 0; if ( cocos2d::extension::CCControlSwitch::initWithMaskSprite( (cocos2d::extension::CCControlSwitch *)v6, a1, a2, a3, a4, nullptr, nullptr) ) { cocos2d::CCObject::autorelease((cocos2d::CCObject *)v6); } else { (*(void (__fastcall **)(char *))(*(_QWORD *)v6 + 16LL))(v6); return nullptr; } return (cocos2d::extension::CCControlSwitch *)v6; }
GD Web Decomp Icon

GD Web Decomp

Raw Source