// // ColorSelectLiveOverlay::create from 0x602540 to 0x6026d2 (402 bytes) // // 2 xrefs: // > ColorSelectLiveOverlay::createWithObject @ 0x6026e2 // > ColorSelectLiveOverlay::createWithActions @ 0x6026e8 // // This function is hookable on this platform (idp: arm, 32 bit: True, 64 bit: False! // // 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:54:42 +0000 // int *__fastcall ColorSelectLiveOverlay::create( ColorSelectLiveOverlay *this, ColorAction *a2, ColorAction *a3, EffectGameObject *a4) { int *v7; // r4 int v8; // r3 int *v9; // r0 v7 = (int *)operator new(0x288u); cocos2d::CCLayerColor::CCLayerColor((cocos2d::CCLayerColor *)v7); v7[111] = 0; v7[112] = 0; v7[113] = 0; *v7 = (int)&off_C86768; *((_BYTE *)v7 + 456) = 0; v7[66] = (int)&off_C86A10; v7[115] = 0; v7[67] = (int)&off_C86A48; v7[116] = 0; v7[68] = (int)&off_C86A54; *((_BYTE *)v7 + 468) = 0; v7[69] = (int)&off_C86A64; *((_BYTE *)v7 + 469) = 0; v7[70] = (int)&off_C86A78; *((_BYTE *)v7 + 470) = 0; v7[79] = (int)&off_C86A90; *((_BYTE *)v7 + 471) = 0; v7[83] = (int)&off_C86AD0; v7[110] = (int)&off_C86AE0; cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)(v7 + 118)); v7[123] = -1; v7[125] = -1; v7[120] = 0; v7[121] = 0; v7[122] = 0; *((_BYTE *)v7 + 496) = 0; *((_BYTE *)v7 + 497) = 0; *((_BYTE *)v7 + 504) = 0; v7[127] = 0; v7[128] = 0; *((_BYTE *)v7 + 516) = 0; *v7 = (int)&off_CC1E78; v7[130] = 0; v7[66] = (int)&off_CC2128; v7[132] = 0; v7[67] = (int)&off_CC2160; v7[133] = 0; v7[68] = (int)&off_CC216C; v7[134] = 0; v7[69] = (int)&off_CC217C; v7[138] = 0; v7[70] = (int)&off_CC2190; v7[139] = 0; v7[79] = (int)&off_CC21A8; v7[140] = 0; v7[83] = (int)&off_CC21E8; v7[110] = (int)&off_CC21F8; v7[142] = 0; v7[141] = 1065353216; *((_BYTE *)v7 + 572) = 0; *((_BYTE *)v7 + 573) = 0; *((_BYTE *)v7 + 574) = 0; v7[147] = 0; v7[152] = 0; *((_BYTE *)v7 + 644) = 0; *((_BYTE *)v7 + 645) = 0; if ( ColorSelectLiveOverlay::init((ColorSelectLiveOverlay *)v7, this, a2, a3) ) { cocos2d::CCObject::autorelease((cocos2d::CCObject *)v7); } else { v8 = *v7; v9 = v7; v7 = nullptr; (*(void (__fastcall **)(int *))(v8 + 8))(v9); } return v7; }