{"type": "func", "start": 4297575196, "end": 4297575300, "name": "GJBaseGameLayer::resetActiveEnterEffects", "pseudocode": "// \n// GJBaseGameLayer::resetActiveEnterEffects from 0x10027cb1c to 0x10027cb84 (104 bytes)\n// \n// 3 xrefs:\n// > PlayLayer::init @ 0x10013e500\n// > PlayLayer::resetLevel @ 0x10014b7c4\n// > GJBaseGameLayer::resetLevelVariables @ 0x10029f170\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:53 +0000\n// \n\nvoid __fastcall GJBaseGameLayer::resetActiveEnterEffects(_QWORD *a1)\n{\n  void *v2; // x0\n  signed __int64 v3; // x2\n  void *v4; // x0\n  signed __int64 v5; // x2\n\n  v2 = (void *)a1[179];\n  v3 = a1[180] - (_QWORD)v2;\n  if ( v3 >= 1 )\n    memset_pattern16(v2, &unk_100763210, v3);\n  v4 = (void *)a1[182];\n  v5 = a1[183] - (_QWORD)v4;\n  if ( v5 >= 1 )\n    memset_pattern16(v4, &unk_100763210, v5);\n  sub_1001A225C((__int64)(a1 + 169));\n  sub_1001A225C((__int64)(a1 + 174));\n}", "assembly": "; \n; GJBaseGameLayer::resetActiveEnterEffects from 0x10027cb1c to 0x10027cb84 (104 bytes)\n; \n; 3 xrefs:\n; > PlayLayer::init @ 0x10013e500\n; > PlayLayer::resetLevel @ 0x10014b7c4\n; > GJBaseGameLayer::resetLevelVariables @ 0x10029f170\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:53 +0000\n; \nSTP             X20, X19, [SP,#-0x10+var_10]!                          ; +0x0, 0x10027cb1c\nSTP             X29, X30, [SP,#0x10+var_s0]                            ; +0x4, 0x10027cb20\nADD             X29, SP, #0x10                                         ; +0x8, 0x10027cb24\nMOV             X19, X0                                                ; +0xc, 0x10027cb28\nLDR             X0, [X0,#0x598]; __b                                   ; +0x10, 0x10027cb2c\nLDR             X8, [X19,#0x5A0]                                       ; +0x14, 0x10027cb30\nSUB             X2, X8, X0; __len                                      ; +0x18, 0x10027cb34\nCMP             X2, #1                                                 ; +0x1c, 0x10027cb38\nB.LT            loc_10027CB4C                                          ; +0x20, 0x10027cb3c\nADRL            X1, unk_100763210; __pattern16                         ; +0x24, 0x10027cb40\nBL              _memset_pattern16                                      ; +0x2c, 0x10027cb48\nLDR             X0, [X19,#0x5B0]; __b                                  ; +0x30, 0x10027cb4c\nLDR             X8, [X19,#0x5B8]                                       ; +0x34, 0x10027cb50\nSUB             X2, X8, X0; __len                                      ; +0x38, 0x10027cb54\nCMP             X2, #1                                                 ; +0x3c, 0x10027cb58\nB.LT            loc_10027CB6C                                          ; +0x40, 0x10027cb5c\nADRL            X1, unk_100763210; __pattern16                         ; +0x44, 0x10027cb60\nBL              _memset_pattern16                                      ; +0x4c, 0x10027cb68\nADD             X0, X19, #0x548                                        ; +0x50, 0x10027cb6c\nBL              sub_1001A225C                                          ; +0x54, 0x10027cb70\nADD             X0, X19, #0x570                                        ; +0x58, 0x10027cb74\nLDP             X29, X30, [SP,#0x10+var_s0]                            ; +0x5c, 0x10027cb78\nLDP             X20, X19, [SP+0x10+var_10],#0x20                       ; +0x60, 0x10027cb7c\nB               sub_1001A225C                                          ; +0x64, 0x10027cb80", "xrefs": ["PlayLayer::init @ 0x10013e500", "PlayLayer::resetLevel @ 0x10014b7c4", "GJBaseGameLayer::resetLevelVariables @ 0x10029f170"], "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"}