// // StatsLayer::create from 0x538868 to 0x538960 (248 bytes) // // 1 xrefs: // > MenuLayer::onStats @ 0x3f94ac // // 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:52:12 +0000 // int *__fastcall StatsLayer::create(StatsLayer *this) { int *v1; // r4 int v2; // r3 int *v3; // r0 v1 = (int *)operator new(0x1E0u); cocos2d::CCLayerColor::CCLayerColor((cocos2d::CCLayerColor *)v1); *v1 = (int)&off_CA8E30; v1[66] = (int)&off_CA90EC; v1[67] = (int)&off_CA9124; v1[68] = (int)&off_CA9130; v1[69] = (int)&off_CA9140; v1[70] = (int)&off_CA9154; v1[79] = (int)&off_CA916C; v1[83] = (int)&off_CA91AC; cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)(v1 + 110)); cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)(v1 + 112)); v1[114] = 0; v1[115] = 0; v1[116] = 0; *((_BYTE *)v1 + 468) = 0; v1[118] = 0; *((_BYTE *)v1 + 476) = 0; *v1 = (int)&off_CAB8F0; v1[66] = (int)&off_CABBAC; v1[67] = (int)&off_CABBE4; v1[68] = (int)&off_CABBF0; v1[69] = (int)&off_CABC00; v1[70] = (int)&off_CABC14; v1[79] = (int)&off_CABC2C; v1[83] = (int)&off_CABC6C; if ( GJDropDownLayer::init((GameToolbox **)v1, (cocos2d::CCLabelBMFont *)"Stats") ) { cocos2d::CCObject::autorelease((cocos2d::CCObject *)v1); } else { v2 = *v1; v3 = v1; v1 = nullptr; (*(void (__fastcall **)(int *))(v2 + 8))(v3); } return v1; }
GD Web Decomp Icon

GD Web Decomp

Raw Source