{"type": "func", "start": 4301741936, "end": 4301742152, "name": "GameObject::addEmptyGlow", "pseudocode": "// \n// GameObject::addEmptyGlow from 0x100675f70 to 0x100676048 (216 bytes)\n// \n// 2 xrefs:\n// > GameObject::setupCustomSprites @ 0x10043ac9e\n// > GameObject::setupCustomSprites @ 0x10043afdc\n// \n// This function is hookable on this platform (idp: pc, 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 12:35:03 +0000\n// \n\n__int64 __fastcall GameObject::addEmptyGlow(_QWORD *a1, double a2)\n{\n  _DWORD *v3; // rdi\n  char *v4; // rax\n  __int64 v5; // r14\n  __int64 v6; // rax\n  __int64 result; // rax\n  char v8[15]; // [rsp+9h] [rbp-27h] BYREF\n\n  strcpy(v8, \"emptyGlow.png\");\n  v3 = (_DWORD *)a1[94];\n  if ( v3 )\n  {\n    cocos2d::CCObject::release(v3);\n    (*(void (__fastcall **)(_QWORD))(*(_QWORD *)a1[94] + 536LL))(a1[94]);\n    a1[94] = 0;\n  }\n  v4 = cocos2d::CCSprite::createWithSpriteFrameName((__int64)v8, a2);\n  a1[94] = v4;\n  cocos2d::CCObject::retain((__int64)v4);\n  v5 = a1[94];\n  v6 = (*(__int64 (__fastcall **)(_QWORD *))(*a1 + 192LL))(a1);\n  (*(void (__fastcall **)(__int64, __int64))(*(_QWORD *)v5 + 184LL))(v5, v6);\n  (*(void (__fastcall **)(_QWORD, __int64))(*(_QWORD *)a1[94] + 912LL))(a1[94], 255);\n  result = a1[94];\n  if ( result )\n    *(_BYTE *)(result + 559) = 1;\n  return result;\n}", "assembly": "; \n; GameObject::addEmptyGlow from 0x100675f70 to 0x100676048 (216 bytes)\n; \n; 2 xrefs:\n; > GameObject::setupCustomSprites @ 0x10043ac9e\n; > GameObject::setupCustomSprites @ 0x10043afdc\n; \n; This function is hookable on this platform (idp: pc, 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 12:35:03 +0000\n; \npush    rbp                                                            ; +0x0, 0x100675f70\nmov     rbp, rsp                                                       ; +0x1, 0x100675f71\npush    r14                                                            ; +0x4, 0x100675f74\npush    rbx                                                            ; +0x6, 0x100675f76\nsub     rsp, 20h                                                       ; +0x7, 0x100675f77\nmov     rbx, rdi                                                       ; +0xb, 0x100675f7b\nmov     [rbp+var_28], 1Ah                                              ; +0xe, 0x100675f7e\nmov     rax, 6F6C477974706D65h                                         ; +0x12, 0x100675f82\nmov     qword ptr [rbp+var_27], rax                                    ; +0x1c, 0x100675f8c\nmov     rax, 676E702E776F6C47h                                         ; +0x20, 0x100675f90\nmov     qword ptr [rbp+var_27+5], rax                                  ; +0x2a, 0x100675f9a\nmov     [rbp+var_27+0Dh], 0                                            ; +0x2e, 0x100675f9e\nmov     rdi, [rdi+2F0h]                                                ; +0x32, 0x100675fa2\ntest    rdi, rdi                                                       ; +0x39, 0x100675fa9\njz      short loc_100675FCE                                            ; +0x3c, 0x100675fac\ncall    cocos2d__CCObject__release                                     ; +0x3e, 0x100675fae\nmov     rdi, [rbx+2F0h]                                                ; +0x43, 0x100675fb3\nmov     rax, [rdi]                                                     ; +0x4a, 0x100675fba\ncall    qword ptr [rax+218h]                                           ; +0x4d, 0x100675fbd\nmov     qword ptr [rbx+2F0h], 0                                        ; +0x53, 0x100675fc3\nlea     rdi, [rbp+var_27]                                              ; +0x5e, 0x100675fce\ncall    cocos2d__CCSprite__createWithSpriteFrameName                   ; +0x62, 0x100675fd2\nmov     [rbx+2F0h], rax                                                ; +0x67, 0x100675fd7\nmov     rdi, rax                                                       ; +0x6e, 0x100675fde\ncall    cocos2d__CCObject__retain                                      ; +0x71, 0x100675fe1\nmov     r14, [rbx+2F0h]                                                ; +0x76, 0x100675fe6\nmov     rax, [rbx]                                                     ; +0x7d, 0x100675fed\nmov     rdi, rbx                                                       ; +0x80, 0x100675ff0\ncall    qword ptr [rax+0C0h]                                           ; +0x83, 0x100675ff3\nmov     rcx, [r14]                                                     ; +0x89, 0x100675ff9\nmov     rdi, r14                                                       ; +0x8c, 0x100675ffc\nmov     rsi, rax                                                       ; +0x8f, 0x100675fff\ncall    qword ptr [rcx+0B8h]                                           ; +0x92, 0x100676002\nmov     rdi, [rbx+2F0h]                                                ; +0x98, 0x100676008\nmov     rax, [rdi]                                                     ; +0x9f, 0x10067600f\nmov     esi, 0FFh                                                      ; +0xa2, 0x100676012\ncall    qword ptr [rax+390h]                                           ; +0xa7, 0x100676017\ntest    [rbp+var_28], 1                                                ; +0xad, 0x10067601d\njz      short loc_10067602C                                            ; +0xb1, 0x100676021\nmov     rdi, [rbp+__p]; __p                                            ; +0xb3, 0x100676023\ncall    __ZdlPv; operator delete(void *)                               ; +0xb7, 0x100676027\nmov     rax, [rbx+2F0h]                                                ; +0xbc, 0x10067602c\ntest    rax, rax                                                       ; +0xc3, 0x100676033\njz      short loc_10067603F                                            ; +0xc6, 0x100676036\nmov     byte ptr [rax+22Fh], 1                                         ; +0xc8, 0x100676038\nadd     rsp, 20h                                                       ; +0xcf, 0x10067603f\npop     rbx                                                            ; +0xd3, 0x100676043\npop     r14                                                            ; +0xd4, 0x100676044\npop     rbp                                                            ; +0xd6, 0x100676046\nretn                                                                   ; +0xd7, 0x100676047", "xrefs": ["GameObject::setupCustomSprites @ 0x10043ac9e", "GameObject::setupCustomSprites @ 0x10043afdc"], "is_objc": false, "is_32_bit": false, "is_64_bit": true, "idp_name": "pc", "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"}