; ; EmoteSprite::initWithDef from 0x1004dc590 to 0x1004dc61c (140 bytes) ; ; 1 xrefs: ; > EmoteSprite::createWithDef @ 0x1004dc544 ; ; This function is hookable on this platform (idp: arm, 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 11:06:34 +0000 ; SUB SP, SP, #0x30 ; +0x0, 0x1004dc590 STP X20, X19, [SP,#0x20+var_10] ; +0x4, 0x1004dc594 STP X29, X30, [SP,#0x20+var_s0] ; +0x8, 0x1004dc598 ADD X29, SP, #0x20 ; +0xc, 0x1004dc59c MOV X20, X1 ; +0x10, 0x1004dc5a0 CBZ X1, loc_1004DC608 ; +0x14, 0x1004dc5a4 MOV X19, X0 ; +0x18, 0x1004dc5a8 LDR W8, [X20,#8] ; +0x1c, 0x1004dc5ac STR X8, [SP,#0x20+var_20] ; +0x20, 0x1004dc5b0 ADRL X0, aParticle02d001; "particle_%02d_001.png" ; +0x24, 0x1004dc5b4 BL sub_1003065B0 ; +0x2c, 0x1004dc5bc BL cocos2d__CCString__getCString ; +0x30, 0x1004dc5c0 MOV X1, X0 ; +0x34, 0x1004dc5c4 MOV X0, X19 ; +0x38, 0x1004dc5c8 BL cocos2d__CCSprite__initWithSpriteFrameName ; +0x3c, 0x1004dc5cc CBZ W0, loc_1004DC604 ; +0x40, 0x1004dc5d0 STR X20, [X19,#0x258] ; +0x44, 0x1004dc5d4 ADD X1, X20, #0x18 ; +0x48, 0x1004dc5d8 MOV X0, X19 ; +0x4c, 0x1004dc5dc BL cocos2d__CCSprite__setColor ; +0x50, 0x1004dc5e0 LDRB W8, [X20,#0x28] ; +0x54, 0x1004dc5e4 MOV W20, #1 ; +0x58, 0x1004dc5e8 CMP W8, #1 ; +0x5c, 0x1004dc5ec B.NE loc_1004DC608 ; +0x60, 0x1004dc5f0 MOV X0, X19 ; +0x64, 0x1004dc5f4 MOV W1, #1 ; +0x68, 0x1004dc5f8 BL cocos2d__CCSprite__setFlipX ; +0x6c, 0x1004dc5fc B loc_1004DC608 ; +0x70, 0x1004dc600 MOV W20, #0 ; +0x74, 0x1004dc604 MOV X0, X20 ; +0x78, 0x1004dc608 LDP X29, X30, [SP,#0x20+var_s0] ; +0x7c, 0x1004dc60c LDP X20, X19, [SP,#0x20+var_10] ; +0x80, 0x1004dc610 ADD SP, SP, #0x30 ; '0' ; +0x84, 0x1004dc614 RET ; +0x88, 0x1004dc618