// // LikeItemLayer::create from 0x1006cf940 to 0x1006cfb19 (473 bytes) // // 4 xrefs: // > CommentCell::onLike @ 0x10023e09a // > LevelInfoLayer::onLike @ 0x1002ae633 // > LevelListLayer::onLike @ 0x10034901d // > sub_1008F6C60 @ 0x1008f6ce8 // // This function is hookable on this platform (idp: pc, 32 bit: False, 64 bit: True! // // 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 12:35:38 +0000 // char *__fastcall LikeItemLayer::create(unsigned int a1, unsigned int a2, unsigned int a3) { char *v4; // rbx v4 = (char *)operator new(0x2A8u); cocos2d::CCLayerColor::CCLayerColor((__int64)v4); *(_QWORD *)v4 = off_100B4FB70; *((_QWORD *)v4 + 40) = off_100B500C0; *((_QWORD *)v4 + 41) = &off_100B50130; *((_QWORD *)v4 + 42) = off_100B50148; *((_QWORD *)v4 + 43) = off_100B50168; *((_QWORD *)v4 + 44) = off_100B50190; *((_QWORD *)v4 + 51) = off_100B501C0; *((_QWORD *)v4 + 54) = off_100B50240; *((_QWORD *)v4 + 68) = off_100B50260; *(_OWORD *)(v4 + 552) = 0; *(_OWORD *)(v4 + 561) = 0; *(_OWORD *)(v4 + 584) = 0; sub_1002782A0((_QWORD *)v4 + 75); *((_OWORD *)v4 + 38) = 0; *((_QWORD *)v4 + 78) = 0; *((_DWORD *)v4 + 158) = -1; *((_WORD *)v4 + 318) = 0; *((_DWORD *)v4 + 160) = -1; v4[644] = 0; *((_QWORD *)v4 + 81) = 0; v4[656] = 0; *(_QWORD *)v4 = off_100B8F7B0; *((_QWORD *)v4 + 40) = off_100B8FD00; *((_QWORD *)v4 + 41) = &off_100B8FD70; *((_QWORD *)v4 + 42) = off_100B8FD88; *((_QWORD *)v4 + 43) = off_100B8FDA8; *((_QWORD *)v4 + 44) = off_100B8FDD0; *((_QWORD *)v4 + 51) = off_100B8FE00; *((_QWORD *)v4 + 54) = off_100B8FE80; *((_QWORD *)v4 + 68) = off_100B8FEA0; *(_OWORD *)(v4 + 660) = 0; *((_DWORD *)v4 + 169) = 0; if ( (unsigned __int8)LikeItemLayer::init(v4, a1, a2, a3) ) { cocos2d::CCObject::autorelease((__int64)v4); } else { (*(void (__fastcall **)(char *))(*(_QWORD *)v4 + 16LL))(v4); return nullptr; } return v4; }
GD Web Decomp Icon

GD Web Decomp

Raw Source