// // ShareCommentLayer::create from 0x43262c to 0x4327a2 (374 bytes) // // 6 xrefs: // > LevelBrowserLayer::createNewList @ 0x3bb6b8 // > InfoLayer::onComment @ 0x42f4da // > ProfilePage::onComment @ 0x4c4960 // > ProfilePage::onFriend @ 0x4c6dd6 // > MPLobbyLayer::onComment @ 0x53585e // > LevelListLayer::onDescription @ 0x58ef1c // // 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 // unsigned int __fastcall ShareCommentLayer::create(ShareCommentLayer *this, std::string a2, int a3, int a4, int a5) { unsigned int v8; // r4 int v9; // r6 int v10; // r3 unsigned int v11; // r0 _BYTE v13[4]; // [sp+Ch] [bp-10h] BYREF int v14; // [sp+10h] [bp-Ch] BYREF v8 = operator new(0x22Cu); cocos2d::CCLayerColor::CCLayerColor((cocos2d::CCLayerColor *)v8); *(_DWORD *)(v8 + 480) = -1; *(_DWORD *)(v8 + 488) = -1; *(_DWORD *)(v8 + 440) = 0; *(_DWORD *)(v8 + 444) = 0; *(_DWORD *)v8 = &off_A62AB8; *(_DWORD *)(v8 + 264) = &off_A62D60; *(_DWORD *)(v8 + 268) = &off_A62D98; *(_DWORD *)(v8 + 272) = &off_A62DA4; *(_DWORD *)(v8 + 276) = &off_A62DB4; *(_DWORD *)(v8 + 280) = &off_A62DC4; *(_DWORD *)(v8 + 316) = &off_A62DD8; *(_DWORD *)(v8 + 332) = &off_A62E18; *(_DWORD *)(v8 + 496) = &off_A62E28; *(_DWORD *)(v8 + 504) = &off_A62E5C; *(_DWORD *)(v8 + 500) = &off_A62E4C; *(_DWORD *)(v8 + 448) = 0; *(_BYTE *)(v8 + 452) = 0; *(_DWORD *)(v8 + 456) = 0; *(_DWORD *)(v8 + 460) = 0; *(_BYTE *)(v8 + 464) = 0; *(_DWORD *)(v8 + 468) = 0; *(_DWORD *)(v8 + 472) = 0; *(_DWORD *)(v8 + 476) = 0; *(_BYTE *)(v8 + 484) = 0; *(_BYTE *)(v8 + 485) = 0; *(_BYTE *)(v8 + 492) = 0; *(_DWORD *)(v8 + 516) = 0; *(_DWORD *)(v8 + 520) = 0; *(_DWORD *)(v8 + 524) = &unk_ACDDA8; *(_DWORD *)(v8 + 528) = &unk_ACDDA8; *(_DWORD *)(v8 + 532) = 0; *(_DWORD *)(v8 + 540) = 0; *(_BYTE *)(v8 + 544) = 0; *(_BYTE *)(v8 + 545) = 0; *(_DWORD *)(v8 + 548) = 0; *(_DWORD *)(v8 + 552) = 0; sub_775C20(v13); sub_775C20(&v14); v9 = ShareCommentLayer::init(v8, (int)v13, (int)a2.m_data.m_data, a3, a4, &v14); sub_774008(&v14); sub_774008(v13); if ( v9 ) { cocos2d::CCObject::autorelease((cocos2d::CCObject *)v8); } else { v10 = *(_DWORD *)v8; v11 = v8; v8 = 0; (*(void (__fastcall **)(unsigned int))(v10 + 8))(v11); } return v8; }
GD Web Decomp Icon

GD Web Decomp

Raw Source