{"type": "func", "start": 4298015552, "end": 4298015706, "name": "GJEffectManager::updateActiveOpacityEffects", "pseudocode": "// \n// GJEffectManager::updateActiveOpacityEffects from 0x1002e8340 to 0x1002e83da (154 bytes)\n// \n// 0 xrefs:\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 GJEffectManager::updateActiveOpacityEffects(GJEffectManager *a1)\n{\n  std::__hash_node_base<std::__hash_node<std::__hash_value_type<int, OpacityEffectAction>, void *> *>::__next_pointer next; // rdx\n  __int64 *p_m_opacityEffectMap; // rbx\n  std::__hash_node_base<std::__hash_node<std::__hash_value_type<int, OpacityEffectAction>, void *> *> *v3; // r15\n  void *v4; // rdi\n  void *v5; // [rsp-38h] [rbp-38h] BYREF\n\n  next = a1->m_opacityEffectMap.__table_.__p1_.__value_.__next_;\n  if ( next )\n  {\n    p_m_opacityEffectMap = (__int64 *)&a1->m_opacityEffectMap;\n    do\n    {\n      while ( LOBYTE(next[4].__next_) != 1 || *((float *)&next[5].__next_ + 1) < 1.0 )\n      {\n        next = next->__next_;\n        if ( !next )\n          return;\n      }\n      v3 = next->__next_;\n      sub_100056B40((__int64)&v5, p_m_opacityEffectMap, (__int64 *)next);\n      v4 = v5;\n      v5 = nullptr;\n      if ( v4 )\n        operator delete(v4);\n      next = v3;\n    }\n    while ( v3 );\n  }\n}", "assembly": "; \n; GJEffectManager::updateActiveOpacityEffects from 0x1002e8340 to 0x1002e83da (154 bytes)\n; \n; 0 xrefs:\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\nmov     rdx, [rdi+1A8h]                                                ; +0x0, 0x1002e8340\ntest    rdx, rdx                                                       ; +0x7, 0x1002e8347\njz      locret_1002E83D9                                               ; +0xa, 0x1002e834a\npush    rbp                                                            ; +0x10, 0x1002e8350\nmov     rbp, rsp                                                       ; +0x11, 0x1002e8351\npush    r15                                                            ; +0x14, 0x1002e8354\npush    r14                                                            ; +0x16, 0x1002e8356\npush    rbx                                                            ; +0x18, 0x1002e8358\nsub     rsp, 18h                                                       ; +0x19, 0x1002e8359\nmov     rbx, rdi                                                       ; +0x1d, 0x1002e835d\nadd     rbx, 198h                                                      ; +0x20, 0x1002e8360\nmovss   xmm1, cs:alpha                                                 ; +0x27, 0x1002e8367\nlea     r14, [rbp-30h]                                                 ; +0x2f, 0x1002e836f\njmp     short loc_1002E838B                                            ; +0x33, 0x1002e8373\nalign 20h                                                              ; +0x35, 0x1002e8375\nmov     r15, [rdx]                                                     ; +0x40, 0x1002e8380\nmov     rdx, r15                                                       ; +0x43, 0x1002e8383\ntest    r15, r15                                                       ; +0x46, 0x1002e8386\njz      short loc_1002E83CF                                            ; +0x49, 0x1002e8389\ncmp     byte ptr [rdx+20h], 1                                          ; +0x4b, 0x1002e838b\njnz     short loc_1002E8380                                            ; +0x4f, 0x1002e838f\nmovss   xmm0, dword ptr [rdx+2Ch]                                      ; +0x51, 0x1002e8391\nucomiss xmm0, xmm1                                                     ; +0x56, 0x1002e8396\njb      short loc_1002E8380                                            ; +0x59, 0x1002e8399\nmov     r15, [rdx]                                                     ; +0x5b, 0x1002e839b\nmov     rdi, r14                                                       ; +0x5e, 0x1002e839e\nmov     rsi, rbx                                                       ; +0x61, 0x1002e83a1\ncall    sub_100056B40                                                  ; +0x64, 0x1002e83a4\nmov     rdi, [rbp-30h]; __p                                            ; +0x69, 0x1002e83a9\nmov     qword ptr [rbp-30h], 0                                         ; +0x6d, 0x1002e83ad\ntest    rdi, rdi                                                       ; +0x75, 0x1002e83b5\njz      short loc_1002E83BF                                            ; +0x78, 0x1002e83b8\ncall    __ZdlPv; operator delete(void *)                               ; +0x7a, 0x1002e83ba\nmovss   xmm1, cs:alpha                                                 ; +0x7f, 0x1002e83bf\nmov     rdx, r15                                                       ; +0x87, 0x1002e83c7\ntest    r15, r15                                                       ; +0x8a, 0x1002e83ca\njnz     short loc_1002E838B                                            ; +0x8d, 0x1002e83cd\nadd     rsp, 18h                                                       ; +0x8f, 0x1002e83cf\npop     rbx                                                            ; +0x93, 0x1002e83d3\npop     r14                                                            ; +0x94, 0x1002e83d4\npop     r15                                                            ; +0x96, 0x1002e83d6\npop     rbp                                                            ; +0x98, 0x1002e83d8\nretn                                                                   ; +0x99, 0x1002e83d9", "xrefs": [], "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"}