; ; ColorSelectPopup::create from 0x4e16dc to 0x4e198e (690 bytes) ; ; 3 xrefs: ; > ColorSelectPopup::create @ 0x4e199e ; > ColorSelectPopup::create @ 0x4e19a8 ; > ColorSelectPopup::create @ 0x4e19da ; ; 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:51:01 +0000 ; PUSH.W {R4-R8,LR} ; +0x0, 0x4e16dc MOV R8, R0 ; +0x4, 0x4e16e0 MOV.W R0, #0x370; unsigned int ; +0x6, 0x4e16e2 MOV R7, R1 ; +0xa, 0x4e16e6 MOV R6, R2 ; +0xc, 0x4e16e8 BL _Znwj; operator new(uint) ; +0xe, 0x4e16ea MOV R4, R0 ; +0x12, 0x4e16ee BL _ZN7cocos2d12CCLayerColorC2Ev; cocos2d::CCLayerColor::CCLayerColor(void) ; +0x14, 0x4e16f0 LDR R3, =(_ZTV12FLAlertLayer_ptr - 0x4E1704) ; +0x18, 0x4e16f4 MOVS R5, #0 ; +0x1a, 0x4e16f6 ADD.W R0, R4, #0x1D8; this ; +0x1c, 0x4e16f8 STR.W R5, [R4,#0x1BC] ; +0x20, 0x4e16fc ADD R3, PC; _ZTV12FLAlertLayer_ptr ; +0x24, 0x4e1700 LDR R3, [R3]; `vtable for'FLAlertLayer ... ; +0x26, 0x4e1702 STR.W R5, [R4,#0x1C0] ; +0x28, 0x4e1704 ADD.W R2, R3, #8 ; +0x2c, 0x4e1708 STR.W R5, [R4,#0x1C4] ; +0x30, 0x4e170c STR R2, [R4] ; +0x34, 0x4e1710 ADD.W R2, R3, #0x2B0 ; +0x36, 0x4e1712 STRB.W R5, [R4,#0x1C8] ; +0x3a, 0x4e1716 STR.W R2, [R4,#0x108] ; +0x3e, 0x4e171a ADD.W R2, R3, #0x2E8 ; +0x42, 0x4e171e STR.W R5, [R4,#0x1CC] ; +0x46, 0x4e1722 STR.W R2, [R4,#0x10C] ; +0x4a, 0x4e1726 ADD.W R2, R3, #0x2F4 ; +0x4e, 0x4e172a STR.W R5, [R4,#0x1D0] ; +0x52, 0x4e172e STR.W R2, [R4,#0x110] ; +0x56, 0x4e1732 ADD.W R2, R3, #0x304 ; +0x5a, 0x4e1736 STRB.W R5, [R4,#0x1D4] ; +0x5e, 0x4e173a STR.W R2, [R4,#0x114] ; +0x62, 0x4e173e ADD.W R2, R3, #0x318 ; +0x66, 0x4e1742 STRB.W R5, [R4,#0x1D5] ; +0x6a, 0x4e1746 STR.W R2, [R4,#0x118] ; +0x6e, 0x4e174a ADD.W R2, R3, #0x330 ; +0x72, 0x4e174e STRB.W R5, [R4,#0x1D6] ; +0x76, 0x4e1752 STR.W R2, [R4,#0x13C] ; +0x7a, 0x4e1756 ADD.W R2, R3, #0x370 ; +0x7e, 0x4e175a STRB.W R5, [R4,#0x1D7] ; +0x82, 0x4e175e ADD.W R3, R3, #0x380 ; +0x86, 0x4e1762 STR.W R2, [R4,#0x14C] ; +0x8a, 0x4e1766 STR.W R3, [R4,#0x1B8] ; +0x8e, 0x4e176a BL _ZN7cocos2d7CCPointC1Ev; cocos2d::CCPoint::CCPoint(void) ; +0x92, 0x4e176e MOVS R2, #0 ; +0x96, 0x4e1772 MOV.W R3, #0xFFFFFFFF ; +0x98, 0x4e1774 STR.W R5, [R4,#0x1E0] ; +0x9c, 0x4e1778 MOV.W R1, #0x3F800000 ; +0xa0, 0x4e177c STR.W R5, [R4,#0x1E4] ; +0xa4, 0x4e1780 ADD.W LR, R4, #0x334 ; +0xa8, 0x4e1784 STR.W R5, [R4,#0x1E8] ; +0xac, 0x4e1788 STR.W R3, [R4,#0x1EC] ; +0xb0, 0x4e178c STRB.W R5, [R4,#0x1F0] ; +0xb4, 0x4e1790 STRB.W R5, [R4,#0x1F1] ; +0xb8, 0x4e1794 STR.W R3, [R4,#0x1F4] ; +0xbc, 0x4e1798 ADD.W R3, R4, #0x278 ; +0xc0, 0x4e179c STRB.W R5, [R4,#0x1F8] ; +0xc4, 0x4e17a0 STR.W R2, [R4,#0x1FC] ; +0xc8, 0x4e17a4 STR.W R2, [R4,#0x200] ; +0xcc, 0x4e17a8 STRB.W R5, [R4,#0x204] ; +0xd0, 0x4e17ac STR.W R5, [R4,#0x210] ; +0xd4, 0x4e17b0 STR.W R5, [R4,#0x214] ; +0xd8, 0x4e17b4 STRB.W R5, [R4,#0x218] ; +0xdc, 0x4e17b8 STRB.W R5, [R4,#0x219] ; +0xe0, 0x4e17bc STR.W R5, [R4,#0x21C] ; +0xe4, 0x4e17c0 STR.W R5, [R4,#0x220] ; +0xe8, 0x4e17c4 STR.W R5, [R4,#0x224] ; +0xec, 0x4e17c8 STRB.W R5, [R4,#0x228] ; +0xf0, 0x4e17cc STR.W R2, [R4,#0x22C] ; +0xf4, 0x4e17d0 STR.W R2, [R4,#0x230] ; +0xf8, 0x4e17d4 STR.W R2, [R4,#0x234] ; +0xfc, 0x4e17d8 STRB.W R5, [R4,#0x238] ; +0x100, 0x4e17dc STR.W R5, [R4,#0x23C] ; +0x104, 0x4e17e0 STR.W R5, [R4,#0x240] ; +0x108, 0x4e17e4 STR.W R5, [R4,#0x244] ; +0x10c, 0x4e17e8 STR.W R5, [R4,#0x248] ; +0x110, 0x4e17ec STR.W R5, [R4,#0x24C] ; +0x114, 0x4e17f0 STR.W R5, [R4,#0x250] ; +0x118, 0x4e17f4 STR.W R5, [R4,#0x254] ; +0x11c, 0x4e17f8 STR.W R5, [R4,#0x258] ; +0x120, 0x4e17fc STR.W R5, [R4,#0x25C] ; +0x124, 0x4e1800 STR.W R2, [R4,#0x260] ; +0x128, 0x4e1804 STR.W R5, [R4,#0x264] ; +0x12c, 0x4e1808 STR.W R3, [R4,#0x274] ; +0x130, 0x4e180c ADD.W R3, R4, #0x284 ; +0x134, 0x4e1810 STR.W R3, [R4,#0x280] ; +0x138, 0x4e1814 MOVS R3, #0xA ; +0x13c, 0x4e1818 STR.W R3, [R4,#0x2C4] ; +0x13e, 0x4e181a LDR R3, =(_ZTV16ColorSelectPopup_ptr - 0x4E1828) ; +0x142, 0x4e181e STR.W R5, [R4,#0x268] ; +0x144, 0x4e1820 ADD R3, PC; _ZTV16ColorSelectPopup_ptr ; +0x148, 0x4e1824 LDR R3, [R3]; `vtable for'ColorSelectPopup ... ; +0x14a, 0x4e1826 STR.W R5, [R4,#0x26C] ; +0x14c, 0x4e1828 ADD.W R0, R3, #8 ; +0x150, 0x4e182c STR.W R5, [R4,#0x270] ; +0x154, 0x4e1830 STR.W R5, [R4,#0x278] ; +0x158, 0x4e1834 STR.W R5, [R4,#0x27C] ; +0x15c, 0x4e1838 STR.W R5, [R4,#0x284] ; +0x160, 0x4e183c STR.W R5, [R4,#0x288] ; +0x164, 0x4e1840 STRB.W R5, [R4,#0x28C] ; +0x168, 0x4e1844 STRB.W R5, [R4,#0x28D] ; +0x16c, 0x4e1848 STR.W R5, [R4,#0x290] ; +0x170, 0x4e184c STR.W R5, [R4,#0x294] ; +0x174, 0x4e1850 STR.W R1, [R4,#0x298] ; +0x178, 0x4e1854 STR.W R5, [R4,#0x29C] ; +0x17c, 0x4e1858 STR.W R5, [R4,#0x2A0] ; +0x180, 0x4e185c STR.W R5, [R4,#0x2A4] ; +0x184, 0x4e1860 STR.W R5, [R4,#0x2A8] ; +0x188, 0x4e1864 STR.W R5, [R4,#0x2AC] ; +0x18c, 0x4e1868 STR.W R5, [R4,#0x2B0] ; +0x190, 0x4e186c STR.W R5, [R4,#0x2B4] ; +0x194, 0x4e1870 STR.W R5, [R4,#0x2B8] ; +0x198, 0x4e1874 STRB.W R5, [R4,#0x2BC] ; +0x19c, 0x4e1878 STR.W R5, [R4,#0x2C0] ; +0x1a0, 0x4e187c STR R0, [R4] ; +0x1a4, 0x4e1880 ADD.W R0, R3, #0x308 ; +0x1a6, 0x4e1882 STR.W R0, [R4,#0x108] ; +0x1aa, 0x4e1886 ADD.W R0, R3, #0x340 ; +0x1ae, 0x4e188a STR.W R0, [R4,#0x10C] ; +0x1b2, 0x4e188e ADD.W R0, R3, #0x34C ; +0x1b6, 0x4e1892 STR.W R0, [R4,#0x110] ; +0x1ba, 0x4e1896 ADD.W R0, R3, #0x35C ; +0x1be, 0x4e189a STR.W R0, [R4,#0x114] ; +0x1c2, 0x4e189e ADD.W R0, R3, #0x370 ; +0x1c6, 0x4e18a2 STR.W R0, [R4,#0x118] ; +0x1ca, 0x4e18a6 ADD.W R0, R3, #0x388 ; +0x1ce, 0x4e18aa STR.W R0, [R4,#0x13C] ; +0x1d2, 0x4e18ae ADD.W R0, R3, #0x3C8 ; +0x1d6, 0x4e18b2 STR.W R0, [R4,#0x14C] ; +0x1da, 0x4e18b6 ADD.W R0, R3, #0x3D8 ; +0x1de, 0x4e18ba STR.W R0, [R4,#0x1B8] ; +0x1e2, 0x4e18be ADD.W R0, R3, #0x3FC ; +0x1e6, 0x4e18c2 STR.W R0, [R4,#0x208] ; +0x1ea, 0x4e18c6 ADD.W R0, R3, #0x408 ; +0x1ee, 0x4e18ca STR.W R0, [R4,#0x20C] ; +0x1f2, 0x4e18ce ADD.W R0, R3, #0x418 ; +0x1f6, 0x4e18d2 ADDW R3, R3, #0x424 ; +0x1fa, 0x4e18d6 STR.W R3, [R4,#0x2CC] ; +0x1fe, 0x4e18da LDR R3, =(dword_D2BBA0 - 0x4E18E8) ; +0x202, 0x4e18de STR.W R0, [R4,#0x2C8] ; +0x204, 0x4e18e0 ADD R3, PC; dword_D2BBA0 ; +0x208, 0x4e18e4 STR.W R2, [R4,#0x300] ; +0x20a, 0x4e18e6 STR.W R1, [R4,#0x30C] ; +0x20e, 0x4e18ea LDM R3, {R0-R3} ; +0x212, 0x4e18ee STR.W R5, [R4,#0x2D0] ; +0x214, 0x4e18f0 STRB.W R5, [R4,#0x2D4] ; +0x218, 0x4e18f4 STR.W R5, [R4,#0x2D8] ; +0x21c, 0x4e18f8 STR.W R5, [R4,#0x2DC] ; +0x220, 0x4e18fc STR.W R5, [R4,#0x2E0] ; +0x224, 0x4e1900 STR.W R5, [R4,#0x2F0] ; +0x228, 0x4e1904 STR.W R5, [R4,#0x2F4] ; +0x22c, 0x4e1908 STR.W R5, [R4,#0x2FC] ; +0x230, 0x4e190c STR.W R5, [R4,#0x304] ; +0x234, 0x4e1910 STR.W R5, [R4,#0x308] ; +0x238, 0x4e1914 STR.W R5, [R4,#0x310] ; +0x23c, 0x4e1918 STR.W R5, [R4,#0x314] ; +0x240, 0x4e191c STRB.W R5, [R4,#0x318] ; +0x244, 0x4e1920 STRB.W R5, [R4,#0x319] ; +0x248, 0x4e1924 STRB.W R5, [R4,#0x31A] ; +0x24c, 0x4e1928 STRB.W R5, [R4,#0x31B] ; +0x250, 0x4e192c STRB.W R5, [R4,#0x31C] ; +0x254, 0x4e1930 STRB.W R5, [R4,#0x31D] ; +0x258, 0x4e1934 STR.W R5, [R4,#0x320] ; +0x25c, 0x4e1938 STRB.W R5, [R4,#0x324] ; +0x260, 0x4e193c STR.W R5, [R4,#0x328] ; +0x264, 0x4e1940 STRB.W R5, [R4,#0x32C] ; +0x268, 0x4e1944 STM.W LR, {R0-R3} ; +0x26c, 0x4e1948 MOV R0, R4; this ; +0x270, 0x4e194c STR.W R5, [R4,#0x350] ; +0x272, 0x4e194e MOV R1, R8; EffectGameObject * ; +0x276, 0x4e1952 STRB.W R5, [R4,#0x35C] ; +0x278, 0x4e1954 MOV R2, R7; cocos2d::CCArray * ; +0x27c, 0x4e1958 MOV R3, R6; ColorAction * ; +0x27e, 0x4e195a BL _ZN16ColorSelectPopup4initEP16EffectGameObjectPN7cocos2d7CCArrayEP11ColorAction; ColorSelectPopup::init(EffectGameObject *,cocos2d::CCArray *,ColorAction *) ; +0x280, 0x4e195c MOV R5, R0 ; +0x284, 0x4e1960 CBZ R0, loc_4E197E ; +0x286, 0x4e1962 MOV R0, R4; this ; +0x288, 0x4e1964 BL _ZN7cocos2d8CCObject11autoreleaseEv; cocos2d::CCObject::autorelease(void) ; +0x28a, 0x4e1966 B loc_4E1988 ; +0x28e, 0x4e196a MOV R0, R4; this ; +0x290, 0x4e196c BL _ZN7cocos2d12CCLayerColorD2Ev; cocos2d::CCLayerColor::~CCLayerColor() ; +0x292, 0x4e196e B loc_4E1974 ; +0x296, 0x4e1972 MOV R0, R4; void * ; +0x298, 0x4e1974 BL _ZdlPv; operator delete(void *) ; +0x29a, 0x4e1976 BL __cxa_end_cleanup ; +0x29e, 0x4e197a LDR R3, [R4] ; +0x2a2, 0x4e197e MOV R0, R4 ; +0x2a4, 0x4e1980 MOV R4, R5 ; +0x2a6, 0x4e1982 LDR R3, [R3,#8] ; +0x2a8, 0x4e1984 BLX R3 ; +0x2aa, 0x4e1986 MOV R0, R4 ; +0x2ac, 0x4e1988 POP.W {R4-R8,PC} ; +0x2ae, 0x4e198a