{"type": "func", "start": 4296975820, "end": 4296975956, "name": "GJBaseGameLayer::playAnimationCommand", "pseudocode": "// \n// GJBaseGameLayer::playAnimationCommand from 0x1001ea5cc to 0x1001ea654 (136 bytes)\n// \n// 1 xrefs:\n// > EffectGameObject::triggerObject @ 0x100385910\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 GJBaseGameLayer::playAnimationCommand(GJBaseGameLayer *a1, int a2, int a3)\n{\n  cocos2d::CCArray *Group; // x20\n  __int64 v5; // x21\n  __int64 v6; // x0\n\n  if ( a3 >= 1 )\n  {\n    Group = GJBaseGameLayer::getGroup(a1, a3);\n    if ( (unsigned int)sub_10024A36C(Group) )\n    {\n      v5 = 0;\n      do\n      {\n        v6 = sub_10024A388(Group, v5);\n        if ( *(_DWORD *)(v6 + 1248) == 2 )\n          AnimatedGameObject::playAnimation((AnimatedGameObject *)v6, a2);\n        else\n          (*(void (__fastcall **)(__int64))(*(_QWORD *)v6 + 1504LL))(v6);\n        v5 = (unsigned int)(v5 + 1);\n      }\n      while ( (unsigned int)v5 < (unsigned int)sub_10024A36C(Group) );\n    }\n  }\n}", "assembly": "; \n; GJBaseGameLayer::playAnimationCommand from 0x1001ea5cc to 0x1001ea654 (136 bytes)\n; \n; 1 xrefs:\n; > EffectGameObject::triggerObject @ 0x100385910\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\nCMP             W2, #1                                                 ; +0x0, 0x1001ea5cc\nB.LT            locret_1001EA650                                       ; +0x4, 0x1001ea5d0\nSTP             X22, X21, [SP,#var_30]!                                ; +0x8, 0x1001ea5d4\nSTP             X20, X19, [SP,#0x30+var_20]                            ; +0xc, 0x1001ea5d8\nSTP             X29, X30, [SP,#0x30+var_10]                            ; +0x10, 0x1001ea5dc\nADD             X29, SP, #0x30+var_10                                  ; +0x14, 0x1001ea5e0\nMOV             X19, X1                                                ; +0x18, 0x1001ea5e4\nMOV             X1, X2                                                 ; +0x1c, 0x1001ea5e8\nBL              GJBaseGameLayer__getGroup                              ; +0x20, 0x1001ea5ec\nMOV             X20, X0                                                ; +0x24, 0x1001ea5f0\nBL              sub_10024A36C                                          ; +0x28, 0x1001ea5f4\nCBZ             W0, loc_1001EA644                                      ; +0x2c, 0x1001ea5f8\nMOV             W21, #0                                                ; +0x30, 0x1001ea5fc\nMOV             X0, X20                                                ; +0x34, 0x1001ea600\nMOV             X1, X21                                                ; +0x38, 0x1001ea604\nBL              sub_10024A388                                          ; +0x3c, 0x1001ea608\nLDR             W8, [X0,#0x4E0]                                        ; +0x40, 0x1001ea60c\nCMP             W8, #2                                                 ; +0x44, 0x1001ea610\nB.NE            loc_1001EA624                                          ; +0x48, 0x1001ea614\nMOV             X1, X19                                                ; +0x4c, 0x1001ea618\nBL              AnimatedGameObject__playAnimation                      ; +0x50, 0x1001ea61c\nB               loc_1001EA630                                          ; +0x54, 0x1001ea620\nLDR             X8, [X0]                                               ; +0x58, 0x1001ea624\nLDR             X8, [X8,#0x5E0]                                        ; +0x5c, 0x1001ea628\nBLR             X8                                                     ; +0x60, 0x1001ea62c\nADD             W21, W21, #1                                           ; +0x64, 0x1001ea630\nMOV             X0, X20                                                ; +0x68, 0x1001ea634\nBL              sub_10024A36C                                          ; +0x6c, 0x1001ea638\nCMP             W21, W0                                                ; +0x70, 0x1001ea63c\nB.CC            loc_1001EA600                                          ; +0x74, 0x1001ea640\nLDP             X29, X30, [SP,#0x30+var_10]                            ; +0x78, 0x1001ea644\nLDP             X20, X19, [SP,#0x30+var_20]                            ; +0x7c, 0x1001ea648\nLDP             X22, X21, [SP+0x30+var_30],#0x30                       ; +0x80, 0x1001ea64c\nRET                                                                    ; +0x84, 0x1001ea650", "xrefs": ["EffectGameObject::triggerObject @ 0x100385910"], "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"}