{"type": "func", "start": 4297144588, "end": 4297144660, "name": "CCMenuItemSpriteExtra::useAnimationType", "pseudocode": "// \n// CCMenuItemSpriteExtra::useAnimationType from 0x10021390c to 0x100213954 (72 bytes)\n// \n// 3 xrefs:\n// > LevelInfoLayer::init @ 0x1000259e0\n// > SecretRewardsLayer::init @ 0x1002e94a8\n// > GJGarageLayer::init @ 0x1003025e0\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 __fastcall CCMenuItemSpriteExtra::useAnimationType(CCMenuItemSpriteExtra *a1, MenuAnimationType a2)\n{\n  __int64 v4; // x0\n  double *v5; // x0\n\n  v4 = ((__int64 (__fastcall *)(CCMenuItemSpriteExtra *))a1->getNormalImage)(a1);\n  v5 = (double *)(*(__int64 (__fastcall **)(__int64))(*(_QWORD *)v4 + 192LL))(v4);\n  sub_1000229D0(&a1->m_startPosition, v5);\n  a1->m_animationType = a2;\n}", "assembly": "; \n; CCMenuItemSpriteExtra::useAnimationType from 0x10021390c to 0x100213954 (72 bytes)\n; \n; 3 xrefs:\n; > LevelInfoLayer::init @ 0x1000259e0\n; > SecretRewardsLayer::init @ 0x1002e94a8\n; > GJGarageLayer::init @ 0x1003025e0\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             X20, X19, [SP,#-0x10+var_10]!                          ; +0x0, 0x10021390c\nSTP             X29, X30, [SP,#0x10+var_s0]                            ; +0x4, 0x100213910\nADD             X29, SP, #0x10                                         ; +0x8, 0x100213914\nMOV             X19, X1                                                ; +0xc, 0x100213918\nMOV             X20, X0                                                ; +0x10, 0x10021391c\nLDR             X8, [X0]                                               ; +0x14, 0x100213920\nLDR             X8, [X8,#0x420]                                        ; +0x18, 0x100213924\nBLR             X8                                                     ; +0x1c, 0x100213928\nLDR             X8, [X0]                                               ; +0x20, 0x10021392c\nLDR             X8, [X8,#0xC0]                                         ; +0x24, 0x100213930\nBLR             X8                                                     ; +0x28, 0x100213934\nMOV             X1, X0                                                 ; +0x2c, 0x100213938\nADD             X0, X20, #0x1E8                                        ; +0x30, 0x10021393c\nBL              sub_1000229D0                                          ; +0x34, 0x100213940\nSTR             W19, [X20,#0x1E4]                                      ; +0x38, 0x100213944\nLDP             X29, X30, [SP,#0x10+var_s0]                            ; +0x3c, 0x100213948\nLDP             X20, X19, [SP+0x10+var_10],#0x20                       ; +0x40, 0x10021394c\nRET                                                                    ; +0x44, 0x100213950", "xrefs": ["LevelInfoLayer::init @ 0x1000259e0", "SecretRewardsLayer::init @ 0x1002e94a8", "GJGarageLayer::init @ 0x1003025e0"], "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"}