{"type": "func", "start": 4296142848, "end": 4296142930, "name": "GJBaseGameLayer::getCustomEnterEffects", "pseudocode": "// \n// GJBaseGameLayer::getCustomEnterEffects from 0x10011f000 to 0x10011f052 (82 bytes)\n// \n// 1 xrefs:\n// > PlayLayer::applyCustomEnterEffect @ 0x1000b81c0\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; // rdi\n  int *v5; // [rsp+0h] [rbp-10h] BYREF\n  int v6; // [rsp+8h] [rbp-8h] BYREF\n  char v7; // [rsp+Fh] [rbp-1h] BYREF\n\n  v6 = a2;\n  if ( (unsigned int)a2 > 0x64 )\n    return nullptr;\n  if ( a3 )\n    p_m_enterEffectInstanceVectors = &a1->m_gameState.m_enterEffectInstanceVectors;\n  else\n    p_m_enterEffectInstanceVectors = &a1->m_gameState.m_exitEffectInstanceVectors;\n  v5 = &v6;\n  return (std::vector<EnterEffectInstance> *)(sub_100166C80(\n                                                p_m_enterEffectInstanceVectors,\n                                                &v6,\n                                                &unk_100816AE0,\n                                                &v5,\n                                                &v7)\n                                            + 24);\n}", "assembly": "; \n; GJBaseGameLayer::getCustomEnterEffects from 0x10011f000 to 0x10011f052 (82 bytes)\n; \n; 1 xrefs:\n; > PlayLayer::applyCustomEnterEffect @ 0x1000b81c0\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\npush    rbp                                                            ; +0x0, 0x10011f000\nmov     rbp, rsp                                                       ; +0x1, 0x10011f001\nsub     rsp, 10h                                                       ; +0x4, 0x10011f004\nmov     [rbp+var_8], esi                                               ; +0x8, 0x10011f008\ncmp     esi, 64h ; 'd'                                                 ; +0xb, 0x10011f00b\njbe     short loc_10011F018                                            ; +0xe, 0x10011f00e\nxor     eax, eax                                                       ; +0x10, 0x10011f010\nadd     rsp, 10h                                                       ; +0x12, 0x10011f012\npop     rbp                                                            ; +0x16, 0x10011f016\nretn                                                                   ; +0x17, 0x10011f017\ntest    dl, dl                                                         ; +0x18, 0x10011f018\njz      short loc_10011F025                                            ; +0x1a, 0x10011f01a\nadd     rdi, 548h                                                      ; +0x1c, 0x10011f01c\njmp     short loc_10011F02C                                            ; +0x23, 0x10011f023\nadd     rdi, 570h                                                      ; +0x25, 0x10011f025\nlea     rsi, [rbp+var_8]                                               ; +0x2c, 0x10011f02c\nmov     [rbp+var_10], rsi                                              ; +0x30, 0x10011f030\nlea     rdx, unk_100816AE0                                             ; +0x34, 0x10011f034\nlea     rcx, [rbp+var_10]                                              ; +0x3b, 0x10011f03b\nlea     r8, [rbp+var_1]                                                ; +0x3f, 0x10011f03f\ncall    sub_100166C80                                                  ; +0x43, 0x10011f043\nadd     rax, 18h                                                       ; +0x48, 0x10011f048\nadd     rsp, 10h                                                       ; +0x4c, 0x10011f04c\npop     rbp                                                            ; +0x50, 0x10011f050\nretn                                                                   ; +0x51, 0x10011f051", "xrefs": ["PlayLayer::applyCustomEnterEffect @ 0x1000b81c0"], "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"}