; ; AnimatedShopKeeper::init from 0x92db8c to 0x92dc7c (240 bytes) ; ; 2 xrefs: ; > AnimatedShopKeeper::create @ 0x92dd14 ; > @ 0xb49f0 ; ; 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 ; STP X29, X30, [SP,#var_30]! ; +0x0, 0x92db8c MOV X29, SP ; +0x4, 0x92db90 STP X19, X20, [SP,#0x30+var_20] ; +0x8, 0x92db94 MOV X19, X0 ; +0xc, 0x92db98 SUB W0, W1, #1; switch 4 cases ; +0x10, 0x92db9c STR D8, [SP,#0x30+var_10] ; +0x14, 0x92dba0 CMP W0, #3 ; +0x18, 0x92dba4 STR W1, [X19,#0x2A0] ; +0x1c, 0x92dba8 B.LS loc_92DC34 ; +0x20, 0x92dbac ADRL X1, aGjshopkeeper; jumptable 000000000092DC48 default case ; +0x24, 0x92dbb0 MOV X0, X19; this ; +0x2c, 0x92dbb8 MOV X2, #0; cocos2d::CCTexture2D * ; +0x30, 0x92dbbc MOV W3, #0; bool ; +0x34, 0x92dbc0 BL _ZN16CCAnimatedSprite12initWithTypeEPKcPN7cocos2d11CCTexture2DEb; CCAnimatedSprite::initWithType(char const*,cocos2d::CCTexture2D *,bool) ; +0x38, 0x92dbc4 UXTB W0, W0 ; +0x3c, 0x92dbc8 MOV W20, W0 ; +0x40, 0x92dbcc CBZ W0, loc_92DC20 ; +0x44, 0x92dbd0 BL .rand ; +0x48, 0x92dbd4 SCVTF S2, W0 ; +0x4c, 0x92dbd8 LDR S8, =0x30000000 ; +0x50, 0x92dbdc FMOV S1, #5.0 ; +0x54, 0x92dbe0 FMOV S0, #10.0 ; +0x58, 0x92dbe4 FMUL S2, S2, S8 ; +0x5c, 0x92dbe8 FMADD S0, S2, S1, S0 ; +0x60, 0x92dbec FCVTZS W0, S0 ; +0x64, 0x92dbf0 STR W0, [X19,#0x2A8] ; +0x68, 0x92dbf4 BL .rand ; +0x6c, 0x92dbf8 SCVTF S0, W0 ; +0x70, 0x92dbfc LDR X0, [X19,#0x268]; this ; +0x74, 0x92dc00 FMOV S2, #2.0 ; +0x78, 0x92dc04 FMUL S1, S0, S8 ; +0x7c, 0x92dc08 FMOV S0, #1.0 ; +0x80, 0x92dc0c FMADD S0, S1, S2, S0 ; +0x84, 0x92dc10 FCVTZS W1, S0 ; +0x88, 0x92dc14 STR W1, [X19,#0x2A4] ; +0x8c, 0x92dc18 BL _ZN22SpriteAnimationManager14stopAnimationsEv; SpriteAnimationManager::stopAnimations(void) ; +0x90, 0x92dc1c MOV W0, W20 ; +0x94, 0x92dc20 LDP X19, X20, [SP,#0x30+var_20] ; +0x98, 0x92dc24 LDR D8, [SP,#0x30+var_10] ; +0x9c, 0x92dc28 LDP X29, X30, [SP+0x30+var_30],#0x30 ; +0xa0, 0x92dc2c RET ; +0xa4, 0x92dc30 ADRL X1, jpt_92DC48 ; +0xa8, 0x92dc34 LDRB W0, [X1,W0,UXTW] ; +0xb0, 0x92dc3c ADR X1, loc_92DC4C; jumptable 000000000092DC48 case 1 ; +0xb4, 0x92dc40 ADD X0, X1, W0,SXTB#2 ; +0xb8, 0x92dc44 BR X0; switch jump ; +0xbc, 0x92dc48 ADRL X1, aGjshopkeeper2; jumptable 000000000092DC48 case 1 ; +0xc0, 0x92dc4c B loc_92DBB8 ; +0xc8, 0x92dc54 ADRL X1, aGjshopkeeper5; jumptable 000000000092DC48 case 4 ; +0xcc, 0x92dc58 B loc_92DBB8 ; +0xd4, 0x92dc60 ADRL X1, aGjshopkeeper4; jumptable 000000000092DC48 case 3 ; +0xd8, 0x92dc64 B loc_92DBB8 ; +0xe0, 0x92dc6c ADRL X1, aGjshopkeeper3; jumptable 000000000092DC48 case 2 ; +0xe4, 0x92dc70 B loc_92DBB8 ; +0xec, 0x92dc78