{"type": "func", "start": 4297613768, "end": 4297613904, "name": "GJBaseGameLayer::playAnimationCommand", "pseudocode": "// \n// GJBaseGameLayer::playAnimationCommand from 0x1002861c8 to 0x100286250 (136 bytes)\n// \n// 1 xrefs:\n// > EffectGameObject::triggerObject @ 0x10042bcc4\n// \n// This function is hookable on this platform (idp: arm, 32 bit: False, 64 bit: True!\n// \n// Using BromaIDA 8.3.0 @ https://github.com/Stazzical/BromaIDA\n// Using bindings at commit 1c6ec395 at Thu Nov 26 21:29:22 2026 from https://github.com/geode-sdk/bindings\n// Generated at Fri, 27 Nov 2026 11:01:58 +0000\n// \n\n__int64 __fastcall GJBaseGameLayer::playAnimationCommand(__int64 result, __int64 a2, int a3)\n{\n  __int64 Group; // x20\n  __int64 v4; // x21\n  _DWORD *v5; // x0\n\n  if ( a3 >= 1 )\n  {\n    Group = GJBaseGameLayer::getGroup(result, a3);\n    result = sub_1002E757C(Group);\n    if ( (_DWORD)result )\n    {\n      v4 = 0;\n      do\n      {\n        v5 = (_DWORD *)sub_1002E75A0(Group, v4);\n        if ( v5[312] == 2 )\n          sub_10042B060();\n        else\n          (*(void (__fastcall **)(_DWORD *))(*(_QWORD *)v5 + 1520LL))(v5);\n        v4 = (unsigned int)(v4 + 1);\n        result = sub_1002E757C(Group);\n      }\n      while ( (unsigned int)v4 < (unsigned int)result );\n    }\n  }\n  return result;\n}", "assembly": "; \n; GJBaseGameLayer::playAnimationCommand from 0x1002861c8 to 0x100286250 (136 bytes)\n; \n; 1 xrefs:\n; > EffectGameObject::triggerObject @ 0x10042bcc4\n; \n; This function is hookable on this platform (idp: arm, 32 bit: False, 64 bit: True!\n; \n; Using BromaIDA 8.3.0 @ https://github.com/Stazzical/BromaIDA\n; Using bindings at commit 1c6ec395 at Thu Nov 26 21:29:22 2026 from https://github.com/geode-sdk/bindings\n; Generated at Fri, 27 Nov 2026 11:01:58 +0000\n; \nCMP             W2, #1                                                 ; +0x0, 0x1002861c8\nB.LT            locret_10028624C                                       ; +0x4, 0x1002861cc\nSTP             X22, X21, [SP,#var_30]!                                ; +0x8, 0x1002861d0\nSTP             X20, X19, [SP,#0x30+var_20]                            ; +0xc, 0x1002861d4\nSTP             X29, X30, [SP,#0x30+var_10]                            ; +0x10, 0x1002861d8\nADD             X29, SP, #0x30+var_10                                  ; +0x14, 0x1002861dc\nMOV             X19, X1                                                ; +0x18, 0x1002861e0\nMOV             X1, X2                                                 ; +0x1c, 0x1002861e4\nBL              GJBaseGameLayer__getGroup                              ; +0x20, 0x1002861e8\nMOV             X20, X0                                                ; +0x24, 0x1002861ec\nBL              sub_1002E757C                                          ; +0x28, 0x1002861f0\nCBZ             W0, loc_100286240                                      ; +0x2c, 0x1002861f4\nMOV             W21, #0                                                ; +0x30, 0x1002861f8\nMOV             X0, X20                                                ; +0x34, 0x1002861fc\nMOV             X1, X21                                                ; +0x38, 0x100286200\nBL              sub_1002E75A0                                          ; +0x3c, 0x100286204\nLDR             W8, [X0,#0x4E0]                                        ; +0x40, 0x100286208\nCMP             W8, #2                                                 ; +0x44, 0x10028620c\nB.NE            loc_100286220                                          ; +0x48, 0x100286210\nMOV             X1, X19                                                ; +0x4c, 0x100286214\nBL              sub_10042B060                                          ; +0x50, 0x100286218\nB               loc_10028622C                                          ; +0x54, 0x10028621c\nLDR             X8, [X0]                                               ; +0x58, 0x100286220\nLDR             X8, [X8,#0x5F0]                                        ; +0x5c, 0x100286224\nBLR             X8                                                     ; +0x60, 0x100286228\nADD             W21, W21, #1                                           ; +0x64, 0x10028622c\nMOV             X0, X20                                                ; +0x68, 0x100286230\nBL              sub_1002E757C                                          ; +0x6c, 0x100286234\nCMP             W21, W0                                                ; +0x70, 0x100286238\nB.CC            loc_1002861FC                                          ; +0x74, 0x10028623c\nLDP             X29, X30, [SP,#0x30+var_10]                            ; +0x78, 0x100286240\nLDP             X20, X19, [SP,#0x30+var_20]                            ; +0x7c, 0x100286244\nLDP             X22, X21, [SP+0x30+var_30],#0x30                       ; +0x80, 0x100286248\nRET                                                                    ; +0x84, 0x10028624c", "xrefs": ["EffectGameObject::triggerObject @ 0x10042bcc4"], "is_objc": false, "is_32_bit": false, "is_64_bit": true, "idp_name": "arm", "bida_info": "8.3.0 @ https://github.com/Stazzical/BromaIDA", "bindings_info": "commit 1c6ec395 at Thu Nov 26 21:29:22 2026 from https://github.com/geode-sdk/bindings"}