{"type": "func", "start": 5727576, "end": 5727648, "name": "CCMenuItemSpriteExtra::useAnimationType", "pseudocode": "// \n// CCMenuItemSpriteExtra::useAnimationType from 0x576558 to 0x5765a0 (72 bytes)\n// \n// 5 xrefs:\n// > LevelInfoLayer::init @ 0x6dc1cc\n// > GJGarageLayer::init @ 0x799698\n// > WorldSelectLayer::init @ 0x9612e0\n// > SecretRewardsLayer::init @ 0xa63544\n// > <???> @ 0x4fa88\n// \n// This function is hookable on this platform!\n// \n// Using BromaIDA 8.0.0 @ https://github.com/Stazzical/BromaIDA\n// Using bindings at commit ba9f177b at Thu Jul 16 22:52:06 2026 from https://github.com/geode-sdk/bindings\n// \n\nvoid CCMenuItemSpriteExtra::useAnimationType(CCMenuItemSpriteExtra *a1, MenuAnimationType a2)\n{\n  cocos2d::CCNode *v4; // x0\n  float v5; // s0\n  float v6; // s1\n\n  v4 = a1->getNormalImage(a1);\n  v5 = ((float (__fastcall *)(cocos2d::CCNode *))v4->getPosition)(v4);\n  cocos2d::CCPoint::operator=(&a1->m_startPosition, v5, v6);\n  a1->m_animationType = a2;\n}", "assembly": "; \n; CCMenuItemSpriteExtra::useAnimationType from 0x576558 to 0x5765a0 (72 bytes)\n; \n; 5 xrefs:\n; > LevelInfoLayer::init @ 0x6dc1cc\n; > GJGarageLayer::init @ 0x799698\n; > WorldSelectLayer::init @ 0x9612e0\n; > SecretRewardsLayer::init @ 0xa63544\n; > <???> @ 0x4fa88\n; \n; This function is hookable on this platform!\n; \n; Using BromaIDA 8.0.0 @ https:;github.com/Stazzical/BromaIDA\n; Using bindings at commit ba9f177b at Thu Jul 16 22:52:06 2026 from https:;github.com/geode-sdk/bindings\n; \n\nSTP             X29, X30, [SP,#-0x20+var_s0]!                          ; +0x0, 0x576558\nMOV             X29, SP                                                ; +0x4, 0x57655c\nSTP             X19, X20, [SP,#var_s10]                                ; +0x8, 0x576560\nMOV             W20, W1                                                ; +0xc, 0x576564\nLDR             X1, [X0]                                               ; +0x10, 0x576568\nMOV             X19, X0                                                ; +0x14, 0x57656c\nLDR             X1, [X1,#0x420]                                        ; +0x18, 0x576570\nBLR             X1                                                     ; +0x1c, 0x576574\nLDR             X1, [X0]                                               ; +0x20, 0x576578\nLDR             X1, [X1,#0xC0]                                         ; +0x24, 0x57657c\nBLR             X1                                                     ; +0x28, 0x576580\nMOV             X1, X0                                                 ; +0x2c, 0x576584\nADD             X0, X19, #0x1C8                                        ; +0x30, 0x576588\nBL              _ZN7cocos2d7CCPointaSERKS0_; cocos2d::CCPoint::operator=(cocos2d::CCPoint const&) ; +0x34, 0x57658c\nSTR             W20, [X19,#0x1C4]                                      ; +0x38, 0x576590\nLDP             X19, X20, [SP,#var_s10]                                ; +0x3c, 0x576594\nLDP             X29, X30, [SP+var_s0],#0x20                            ; +0x40, 0x576598\nRET                                                                    ; +0x44, 0x57659c", "xrefs": ["LevelInfoLayer::init @ 0x6dc1cc", "GJGarageLayer::init @ 0x799698", "WorldSelectLayer::init @ 0x9612e0", "SecretRewardsLayer::init @ 0xa63544", "<???> @ 0x4fa88"], "is_objc": false, "is_arm32": false, "is_arm64": false, "bida_info": "8.0.0 @ https://github.com/Stazzical/BromaIDA", "bindings_info": "commit ba9f177b at Thu Jul 16 22:52:06 2026 from https://github.com/geode-sdk/bindings"}