{"type": "func", "start": 5371414256, "end": 5371414468, "name": "GameObject::addInternalGlowChild", "pseudocode": "// \n// GameObject::addInternalGlowChild from 0x1402946f0 to 0x1402947c4 (212 bytes)\n// \n// 31 xrefs:\n// > GameObject::setupCustomSprites @ 0x1402acfc6\n// > GameObject::setupCustomSprites @ 0x1402ad1b2\n// > GameObject::setupCustomSprites @ 0x1402ad21a\n// > GameObject::setupCustomSprites @ 0x1402ad282\n// > GameObject::setupCustomSprites @ 0x1402ad406\n// > GameObject::setupCustomSprites @ 0x1402ad592\n// > GameObject::setupCustomSprites @ 0x1402ad5fa\n// > GameObject::setupCustomSprites @ 0x1402ad725\n// > GameObject::setupCustomSprites @ 0x1402ad8e2\n// > GameObject::setupCustomSprites @ 0x1402adb8d\n// > GameObject::setupCustomSprites @ 0x1402adcad\n// > GameObject::setupCustomSprites @ 0x1402ae835\n// > GameObject::setupCustomSprites @ 0x1402aebc4\n// > GameObject::setupCustomSprites @ 0x1402b022b\n// > GameObject::setupCustomSprites @ 0x1402b158e\n// > GameObject::setupCustomSprites @ 0x1402b2a31\n// > GameObject::setupCustomSprites @ 0x1402b30a4\n// > GameObject::setupCustomSprites @ 0x1402b321b\n// > GameObject::setupCustomSprites @ 0x1402b3291\n// > GameObject::setupCustomSprites @ 0x1402b3432\n// > GameObject::setupCustomSprites @ 0x1402b349a\n// > GameObject::setupCustomSprites @ 0x1402b3502\n// > GameObject::setupCustomSprites @ 0x1402b35d4\n// > GameObject::setupCustomSprites @ 0x1402b3761\n// > GameObject::setupCustomSprites @ 0x1402b37c5\n// > GameObject::setupCustomSprites @ 0x1402b3829\n// > GameObject::setupCustomSprites @ 0x1402b7c15\n// > GameObject::setupCustomSprites @ 0x1402b7c59\n// > GameObject::setupCustomSprites @ 0x1402b9eb5\n// > GameObject::setupCustomSprites @ 0x1402bac87\n// > <???> @ 0x14091d3b4\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 11:29:10 +0000\n// \n\n// Hidden C++ exception states: #wind=1\nstruct cocos2d::CCSprite *__fastcall GameObject::addInternalGlowChild(__int64 a1, const char *a2, __int64 a3)\n{\n  __int64 v6; // rcx\n  const char *v8; // rcx\n  struct cocos2d::CCSprite *v9; // rbx\n  _BYTE v10[8]; // [rsp+20h] [rbp-38h] BYREF\n  _BYTE v11[8]; // [rsp+28h] [rbp-30h] BYREF\n  const char *v12; // [rsp+30h] [rbp-28h]\n\n  v12 = a2;\n  v6 = *(_QWORD *)(a1 + 752);\n  if ( v6 )\n  {\n    cocos2d::CCNode::convertToNodeSpace(v6, v10, &unk_14090A8F0);\n    v8 = a2;\n    if ( *((_QWORD *)a2 + 3) > 0xFu )\n      v8 = *(const char **)a2;\n    v9 = cocos2d::CCSprite::createWithSpriteFrameName(v8);\n    cocos2d::CCPoint::operator+(v10, v11, a3);\n    (*(void (__fastcall **)(struct cocos2d::CCSprite *, _BYTE *))(*(_QWORD *)v9 + 184LL))(v9, v11);\n    (*(void (__fastcall **)(_QWORD, struct cocos2d::CCSprite *, __int64))(**(_QWORD **)(a1 + 752) + 456LL))(\n      *(_QWORD *)(a1 + 752),\n      v9,\n      0xFFFFFFFFLL);\n    sub_14003D310((__int64)a2);\n    return v9;\n  }\n  else\n  {\n    sub_14003D310((__int64)a2);\n    return nullptr;\n  }\n}", "assembly": "; \n; GameObject::addInternalGlowChild from 0x1402946f0 to 0x1402947c4 (212 bytes)\n; \n; 31 xrefs:\n; > GameObject::setupCustomSprites @ 0x1402acfc6\n; > GameObject::setupCustomSprites @ 0x1402ad1b2\n; > GameObject::setupCustomSprites @ 0x1402ad21a\n; > GameObject::setupCustomSprites @ 0x1402ad282\n; > GameObject::setupCustomSprites @ 0x1402ad406\n; > GameObject::setupCustomSprites @ 0x1402ad592\n; > GameObject::setupCustomSprites @ 0x1402ad5fa\n; > GameObject::setupCustomSprites @ 0x1402ad725\n; > GameObject::setupCustomSprites @ 0x1402ad8e2\n; > GameObject::setupCustomSprites @ 0x1402adb8d\n; > GameObject::setupCustomSprites @ 0x1402adcad\n; > GameObject::setupCustomSprites @ 0x1402ae835\n; > GameObject::setupCustomSprites @ 0x1402aebc4\n; > GameObject::setupCustomSprites @ 0x1402b022b\n; > GameObject::setupCustomSprites @ 0x1402b158e\n; > GameObject::setupCustomSprites @ 0x1402b2a31\n; > GameObject::setupCustomSprites @ 0x1402b30a4\n; > GameObject::setupCustomSprites @ 0x1402b321b\n; > GameObject::setupCustomSprites @ 0x1402b3291\n; > GameObject::setupCustomSprites @ 0x1402b3432\n; > GameObject::setupCustomSprites @ 0x1402b349a\n; > GameObject::setupCustomSprites @ 0x1402b3502\n; > GameObject::setupCustomSprites @ 0x1402b35d4\n; > GameObject::setupCustomSprites @ 0x1402b3761\n; > GameObject::setupCustomSprites @ 0x1402b37c5\n; > GameObject::setupCustomSprites @ 0x1402b3829\n; > GameObject::setupCustomSprites @ 0x1402b7c15\n; > GameObject::setupCustomSprites @ 0x1402b7c59\n; > GameObject::setupCustomSprites @ 0x1402b9eb5\n; > GameObject::setupCustomSprites @ 0x1402bac87\n; > <???> @ 0x14091d3b4\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 11:29:10 +0000\n; \nmov     [rsp+arg_18], rbx                                              ; +0x0, 0x1402946f0\npush    rbp                                                            ; +0x5, 0x1402946f5\npush    rsi                                                            ; +0x6, 0x1402946f6\npush    rdi                                                            ; +0x7, 0x1402946f7\nsub     rsp, 40h                                                       ; +0x8, 0x1402946f8\nmov     rax, cs:__security_cookie                                      ; +0xc, 0x1402946fc\nxor     rax, rsp                                                       ; +0x13, 0x140294703\nmov     [rsp+58h+var_20], rax                                          ; +0x16, 0x140294706\nmov     rbp, r8                                                        ; +0x1b, 0x14029470b\nmov     rdi, rdx                                                       ; +0x1e, 0x14029470e\nmov     rsi, rcx                                                       ; +0x21, 0x140294711\nmov     [rsp+58h+var_28], rdx                                          ; +0x24, 0x140294714\nmov     rcx, [rcx+2F0h]                                                ; +0x29, 0x140294719\ntest    rcx, rcx                                                       ; +0x30, 0x140294720\njnz     short loc_140294731                                            ; +0x33, 0x140294723\nmov     rcx, rdx                                                       ; +0x35, 0x140294725\ncall    sub_14003D310                                                  ; +0x38, 0x140294728\nxor     eax, eax                                                       ; +0x3d, 0x14029472d\njmp     short loc_1402947AA                                            ; +0x3f, 0x14029472f\nlea     r8, unk_14090A8F0                                              ; +0x41, 0x140294731\nlea     rdx, [rsp+58h+var_38]                                          ; +0x48, 0x140294738\ncall    cs:?convertToNodeSpace@CCNode@cocos2d@@QEAA?AVCCPoint@2@AEBV32@@Z; cocos2d::CCNode::convertToNodeSpace(cocos2d::CCPoint const &) ; +0x4d, 0x14029473d\nmov     rcx, rdi                                                       ; +0x53, 0x140294743\ncmp     qword ptr [rdi+18h], 0Fh                                       ; +0x56, 0x140294746\njbe     short loc_140294750                                            ; +0x5b, 0x14029474b\nmov     rcx, [rdi]                                                     ; +0x5d, 0x14029474d\ncall    cs:?createWithSpriteFrameName@CCSprite@cocos2d@@SAPEAV12@PEBD@Z; cocos2d::CCSprite::createWithSpriteFrameName(char const *) ; +0x60, 0x140294750\nmov     rbx, rax                                                       ; +0x66, 0x140294756\nmov     r8, rbp                                                        ; +0x69, 0x140294759\nlea     rdx, [rsp+58h+var_30]                                          ; +0x6c, 0x14029475c\nlea     rcx, [rsp+58h+var_38]                                          ; +0x71, 0x140294761\ncall    cs:??HCCPoint@cocos2d@@QEBA?AV01@AEBV01@@Z; cocos2d::CCPoint::operator+(cocos2d::CCPoint const &) ; +0x76, 0x140294766\nmov     rcx, [rbx]                                                     ; +0x7c, 0x14029476c\nmov     r8, [rcx+0B8h]                                                 ; +0x7f, 0x14029476f\nlea     rdx, [rsp+58h+var_30]                                          ; +0x86, 0x140294776\nmov     rcx, rbx                                                       ; +0x8b, 0x14029477b\ncall    r8                                                             ; +0x8e, 0x14029477e\nmov     rcx, [rsi+2F0h]                                                ; +0x91, 0x140294781\nmov     rdx, [rcx]                                                     ; +0x98, 0x140294788\nmov     r9, [rdx+1C8h]                                                 ; +0x9b, 0x14029478b\nmov     r8d, 0FFFFFFFFh                                                ; +0xa2, 0x140294792\nmov     rdx, rbx                                                       ; +0xa8, 0x140294798\ncall    r9                                                             ; +0xab, 0x14029479b\nnop                                                                    ; +0xae, 0x14029479e\nmov     rcx, rdi                                                       ; +0xaf, 0x14029479f\ncall    sub_14003D310                                                  ; +0xb2, 0x1402947a2\nmov     rax, rbx                                                       ; +0xb7, 0x1402947a7\nmov     rcx, [rsp+58h+var_20]                                          ; +0xba, 0x1402947aa\nxor     rcx, rsp; StackCookie                                          ; +0xbf, 0x1402947af\ncall    __security_check_cookie                                        ; +0xc2, 0x1402947b2\nmov     rbx, [rsp+58h+arg_18]                                          ; +0xc7, 0x1402947b7\nadd     rsp, 40h                                                       ; +0xcc, 0x1402947bc\npop     rdi                                                            ; +0xd0, 0x1402947c0\npop     rsi                                                            ; +0xd1, 0x1402947c1\npop     rbp                                                            ; +0xd2, 0x1402947c2\nretn                                                                   ; +0xd3, 0x1402947c3", "xrefs": ["GameObject::setupCustomSprites @ 0x1402acfc6", "GameObject::setupCustomSprites @ 0x1402ad1b2", "GameObject::setupCustomSprites @ 0x1402ad21a", "GameObject::setupCustomSprites @ 0x1402ad282", "GameObject::setupCustomSprites @ 0x1402ad406", "GameObject::setupCustomSprites @ 0x1402ad592", "GameObject::setupCustomSprites @ 0x1402ad5fa", "GameObject::setupCustomSprites @ 0x1402ad725", "GameObject::setupCustomSprites @ 0x1402ad8e2", "GameObject::setupCustomSprites @ 0x1402adb8d", "GameObject::setupCustomSprites @ 0x1402adcad", "GameObject::setupCustomSprites @ 0x1402ae835", "GameObject::setupCustomSprites @ 0x1402aebc4", "GameObject::setupCustomSprites @ 0x1402b022b", "GameObject::setupCustomSprites @ 0x1402b158e", "GameObject::setupCustomSprites @ 0x1402b2a31", "GameObject::setupCustomSprites @ 0x1402b30a4", "GameObject::setupCustomSprites @ 0x1402b321b", "GameObject::setupCustomSprites @ 0x1402b3291", "GameObject::setupCustomSprites @ 0x1402b3432", "GameObject::setupCustomSprites @ 0x1402b349a", "GameObject::setupCustomSprites @ 0x1402b3502", "GameObject::setupCustomSprites @ 0x1402b35d4", "GameObject::setupCustomSprites @ 0x1402b3761", "GameObject::setupCustomSprites @ 0x1402b37c5", "GameObject::setupCustomSprites @ 0x1402b3829", "GameObject::setupCustomSprites @ 0x1402b7c15", "GameObject::setupCustomSprites @ 0x1402b7c59", "GameObject::setupCustomSprites @ 0x1402b9eb5", "GameObject::setupCustomSprites @ 0x1402bac87", "<???> @ 0x14091d3b4"], "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"}