{"type": "func", "start": 4296944352, "end": 4296944460, "name": "GJBaseGameLayer::getCustomEnterEffects", "pseudocode": "// \n// GJBaseGameLayer::getCustomEnterEffects from 0x1001e2ae0 to 0x1001e2b4c (108 bytes)\n// \n// 1 xrefs:\n// > PlayLayer::applyCustomEnterEffect @ 0x10011d174\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\nstd::vector<EnterEffectInstance> *__fastcall GJBaseGameLayer::getCustomEnterEffects(\n        GJBaseGameLayer *a1,\n        int a2,\n        bool a3)\n{\n  std::unordered_map<int, std::vector<EnterEffectInstance>> *p_m_enterEffectInstanceVectors; // x0\n  int v5; // [xsp+0h] [xbp-10h] BYREF\n  char v6; // [xsp+7h] [xbp-9h] BYREF\n  int *v7; // [xsp+8h] [xbp-8h] BYREF\n\n  v5 = a2;\n  if ( (unsigned int)a2 > 0x64 )\n    return nullptr;\n  v7 = &v5;\n  if ( a3 )\n    p_m_enterEffectInstanceVectors = &a1->m_gameState.m_enterEffectInstanceVectors;\n  else\n    p_m_enterEffectInstanceVectors = &a1->m_gameState.m_exitEffectInstanceVectors;\n  return (std::vector<EnterEffectInstance> *)(sub_10020A040(\n                                                p_m_enterEffectInstanceVectors,\n                                                &v5,\n                                                &unk_10063A31C,\n                                                &v7,\n                                                &v6)\n                                            + 24);\n}", "assembly": "; \n; GJBaseGameLayer::getCustomEnterEffects from 0x1001e2ae0 to 0x1001e2b4c (108 bytes)\n; \n; 1 xrefs:\n; > PlayLayer::applyCustomEnterEffect @ 0x10011d174\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\nSUB             SP, SP, #0x20                                          ; +0x0, 0x1001e2ae0\nSTP             X29, X30, [SP,#0x10+var_s0]                            ; +0x4, 0x1001e2ae4\nADD             X29, SP, #0x10                                         ; +0x8, 0x1001e2ae8\nSTR             W1, [SP,#0x10+var_10]                                  ; +0xc, 0x1001e2aec\nCMP             W1, #0x64 ; 'd'                                        ; +0x10, 0x1001e2af0\nB.LS            loc_1001E2B00                                          ; +0x14, 0x1001e2af4\nMOV             X0, #0                                                 ; +0x18, 0x1001e2af8\nB               loc_1001E2B40                                          ; +0x1c, 0x1001e2afc\nMOV             X8, SP                                                 ; +0x20, 0x1001e2b00\nCBZ             W2, loc_1001E2B1C                                      ; +0x24, 0x1001e2b04\nSTR             X8, [SP,#0x10+var_8]                                   ; +0x28, 0x1001e2b08\nADRL            X2, unk_10063A31C                                      ; +0x2c, 0x1001e2b0c\nADD             X0, X0, #0x548                                         ; +0x34, 0x1001e2b14\nB               loc_1001E2B2C                                          ; +0x38, 0x1001e2b18\nSTR             X8, [SP,#0x10+var_8]                                   ; +0x3c, 0x1001e2b1c\nADRL            X2, unk_10063A31C                                      ; +0x40, 0x1001e2b20\nADD             X0, X0, #0x570                                         ; +0x48, 0x1001e2b28\nMOV             X1, SP                                                 ; +0x4c, 0x1001e2b2c\nADD             X3, SP, #0x10+var_8                                    ; +0x50, 0x1001e2b30\nADD             X4, SP, #0x10+var_9                                    ; +0x54, 0x1001e2b34\nBL              sub_10020A040                                          ; +0x58, 0x1001e2b38\nADD             X0, X0, #0x18                                          ; +0x5c, 0x1001e2b3c\nLDP             X29, X30, [SP,#0x10+var_s0]                            ; +0x60, 0x1001e2b40\nADD             SP, SP, #0x20 ; ' '                                    ; +0x64, 0x1001e2b44\nRET                                                                    ; +0x68, 0x1001e2b48", "xrefs": ["PlayLayer::applyCustomEnterEffect @ 0x10011d174"], "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"}