{"type": "func", "start": 4300977280, "end": 4300977437, "name": "GameObject::addInternalGlowChild", "pseudocode": "// \n// GameObject::addInternalGlowChild from 0x1005bb480 to 0x1005bb51d (157 bytes)\n// \n// 30 xrefs:\n// > GameObject::setupCustomSprites @ 0x100445269\n// > GameObject::setupCustomSprites @ 0x100448e5f\n// > GameObject::setupCustomSprites @ 0x100448ee8\n// > GameObject::setupCustomSprites @ 0x100448f71\n// > GameObject::setupCustomSprites @ 0x100449226\n// > GameObject::setupCustomSprites @ 0x100449da7\n// > GameObject::setupCustomSprites @ 0x100449e30\n// > GameObject::setupCustomSprites @ 0x10044b837\n// > GameObject::setupCustomSprites @ 0x10044b8d3\n// > GameObject::setupCustomSprites @ 0x10044c3a1\n// > GameObject::setupCustomSprites @ 0x10044c861\n// > GameObject::setupCustomSprites @ 0x10044db88\n// > GameObject::setupCustomSprites @ 0x10044e3fa\n// > GameObject::setupCustomSprites @ 0x10044e486\n// > GameObject::setupCustomSprites @ 0x10044e512\n// > GameObject::setupCustomSprites @ 0x100453aad\n// > GameObject::setupCustomSprites @ 0x10045631e\n// > GameObject::setupCustomSprites @ 0x1004564a1\n// > GameObject::setupCustomSprites @ 0x100458a2b\n// > GameObject::setupCustomSprites @ 0x100459de9\n// > GameObject::setupCustomSprites @ 0x10045b56e\n// > GameObject::setupCustomSprites @ 0x10045bb8c\n// > GameObject::setupCustomSprites @ 0x10045bc2a\n// > GameObject::setupCustomSprites @ 0x10045be37\n// > GameObject::setupCustomSprites @ 0x10045bfa4\n// > GameObject::setupCustomSprites @ 0x10045c050\n// > GameObject::setupCustomSprites @ 0x10045c0fc\n// > GameObject::setupCustomSprites @ 0x10045ccbb\n// > GameObject::setupCustomSprites @ 0x10045cea8\n// > GameObject::setupCustomSprites @ 0x10045cf21\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\ncocos2d::CCSprite *__fastcall GameObject::addInternalGlowChild(__int64 a1, __int64 a2, unsigned __int64 *a3)\n{\n  const cocos2d::CCPoint *v4; // rsi\n  const char *v6; // r15\n  cocos2d::CCSprite *v7; // r15\n  double v9; // [rsp+0h] [rbp-30h] BYREF\n  unsigned __int64 v10[5]; // [rsp+8h] [rbp-28h] BYREF\n  double v11; // 0:xmm0_8.8\n\n  v4 = *(const cocos2d::CCPoint **)(a1 + 752);\n  if ( !v4 )\n    return nullptr;\n  *(cocos2d::CCPoint *)&v11 = cocos2d::CCNode::convertToNodeSpace((cocos2d::CCNode *)v10, v4);\n  if ( (*(_BYTE *)a2 & 1) != 0 )\n    v6 = *(const char **)(a2 + 16);\n  else\n    v6 = (const char *)(a2 + 1);\n  v7 = cocos2d::CCSprite::createWithSpriteFrameName(v6);\n  sub_10028CCE0(&v9, v10, a3);\n  ((void (__fastcall *)(cocos2d::CCSprite *, double *, double))v7->setPosition)(v7, &v9, v11);\n  (*(void (__fastcall **)(_QWORD, cocos2d::CCSprite *, __int64))(**(_QWORD **)(a1 + 752) + 448LL))(\n    *(_QWORD *)(a1 + 752),\n    v7,\n    0xFFFFFFFFLL);\n  return v7;\n}", "assembly": "; \n; GameObject::addInternalGlowChild from 0x1005bb480 to 0x1005bb51d (157 bytes)\n; \n; 30 xrefs:\n; > GameObject::setupCustomSprites @ 0x100445269\n; > GameObject::setupCustomSprites @ 0x100448e5f\n; > GameObject::setupCustomSprites @ 0x100448ee8\n; > GameObject::setupCustomSprites @ 0x100448f71\n; > GameObject::setupCustomSprites @ 0x100449226\n; > GameObject::setupCustomSprites @ 0x100449da7\n; > GameObject::setupCustomSprites @ 0x100449e30\n; > GameObject::setupCustomSprites @ 0x10044b837\n; > GameObject::setupCustomSprites @ 0x10044b8d3\n; > GameObject::setupCustomSprites @ 0x10044c3a1\n; > GameObject::setupCustomSprites @ 0x10044c861\n; > GameObject::setupCustomSprites @ 0x10044db88\n; > GameObject::setupCustomSprites @ 0x10044e3fa\n; > GameObject::setupCustomSprites @ 0x10044e486\n; > GameObject::setupCustomSprites @ 0x10044e512\n; > GameObject::setupCustomSprites @ 0x100453aad\n; > GameObject::setupCustomSprites @ 0x10045631e\n; > GameObject::setupCustomSprites @ 0x1004564a1\n; > GameObject::setupCustomSprites @ 0x100458a2b\n; > GameObject::setupCustomSprites @ 0x100459de9\n; > GameObject::setupCustomSprites @ 0x10045b56e\n; > GameObject::setupCustomSprites @ 0x10045bb8c\n; > GameObject::setupCustomSprites @ 0x10045bc2a\n; > GameObject::setupCustomSprites @ 0x10045be37\n; > GameObject::setupCustomSprites @ 0x10045bfa4\n; > GameObject::setupCustomSprites @ 0x10045c050\n; > GameObject::setupCustomSprites @ 0x10045c0fc\n; > GameObject::setupCustomSprites @ 0x10045ccbb\n; > GameObject::setupCustomSprites @ 0x10045cea8\n; > GameObject::setupCustomSprites @ 0x10045cf21\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, 0x1005bb480\nmov     rbp, rsp                                                       ; +0x1, 0x1005bb481\npush    r15                                                            ; +0x4, 0x1005bb484\npush    r14                                                            ; +0x6, 0x1005bb486\npush    r12                                                            ; +0x8, 0x1005bb488\npush    rbx                                                            ; +0xa, 0x1005bb48a\nsub     rsp, 10h                                                       ; +0xb, 0x1005bb48b\nmov     r15, rsi                                                       ; +0xf, 0x1005bb48f\nmov     rsi, [rdi+2F0h]                                                ; +0x12, 0x1005bb492\ntest    rsi, rsi                                                       ; +0x19, 0x1005bb499\njz      short loc_1005BB4BF                                            ; +0x1c, 0x1005bb49c\nmov     r14, rdx                                                       ; +0x1e, 0x1005bb49e\nmov     rbx, rdi                                                       ; +0x21, 0x1005bb4a1\nlea     rdx, dbl_1009A2C70                                             ; +0x24, 0x1005bb4a4\nlea     rdi, [rbp+var_28]                                              ; +0x2b, 0x1005bb4ab\ncall    cocos2d__CCNode__convertToNodeSpace                            ; +0x2f, 0x1005bb4af\ntest    byte ptr [r15], 1                                              ; +0x34, 0x1005bb4b4\njnz     short loc_1005BB4C4                                            ; +0x38, 0x1005bb4b8\ninc     r15                                                            ; +0x3a, 0x1005bb4ba\njmp     short loc_1005BB4C8                                            ; +0x3d, 0x1005bb4bd\nxor     r15d, r15d                                                     ; +0x3f, 0x1005bb4bf\njmp     short loc_1005BB50D                                            ; +0x42, 0x1005bb4c2\nmov     r15, [r15+10h]                                                 ; +0x44, 0x1005bb4c4\nmov     rdi, r15                                                       ; +0x48, 0x1005bb4c8\ncall    cocos2d__CCSprite__createWithSpriteFrameName                   ; +0x4b, 0x1005bb4cb\nmov     r15, rax                                                       ; +0x50, 0x1005bb4d0\nlea     r12, [rbp+var_30]                                              ; +0x53, 0x1005bb4d3\nlea     rsi, [rbp+var_28]                                              ; +0x57, 0x1005bb4d7\nmov     rdi, r12                                                       ; +0x5b, 0x1005bb4db\nmov     rdx, r14                                                       ; +0x5e, 0x1005bb4de\ncall    sub_10028CCE0                                                  ; +0x61, 0x1005bb4e1\nmov     rax, [r15]                                                     ; +0x66, 0x1005bb4e6\nmov     rdi, r15                                                       ; +0x69, 0x1005bb4e9\nmov     rsi, r12                                                       ; +0x6c, 0x1005bb4ec\ncall    qword ptr [rax+0B8h]                                           ; +0x6f, 0x1005bb4ef\nmov     rdi, [rbx+2F0h]                                                ; +0x75, 0x1005bb4f5\nmov     rax, [rdi]                                                     ; +0x7c, 0x1005bb4fc\nmov     rsi, r15                                                       ; +0x7f, 0x1005bb4ff\nmov     edx, 0FFFFFFFFh                                                ; +0x82, 0x1005bb502\ncall    qword ptr [rax+1C0h]                                           ; +0x87, 0x1005bb507\nmov     rax, r15                                                       ; +0x8d, 0x1005bb50d\nadd     rsp, 10h                                                       ; +0x90, 0x1005bb510\npop     rbx                                                            ; +0x94, 0x1005bb514\npop     r12                                                            ; +0x95, 0x1005bb515\npop     r14                                                            ; +0x97, 0x1005bb517\npop     r15                                                            ; +0x99, 0x1005bb519\npop     rbp                                                            ; +0x9b, 0x1005bb51b\nretn                                                                   ; +0x9c, 0x1005bb51c", "xrefs": ["GameObject::setupCustomSprites @ 0x100445269", "GameObject::setupCustomSprites @ 0x100448e5f", "GameObject::setupCustomSprites @ 0x100448ee8", "GameObject::setupCustomSprites @ 0x100448f71", "GameObject::setupCustomSprites @ 0x100449226", "GameObject::setupCustomSprites @ 0x100449da7", "GameObject::setupCustomSprites @ 0x100449e30", "GameObject::setupCustomSprites @ 0x10044b837", "GameObject::setupCustomSprites @ 0x10044b8d3", "GameObject::setupCustomSprites @ 0x10044c3a1", "GameObject::setupCustomSprites @ 0x10044c861", "GameObject::setupCustomSprites @ 0x10044db88", "GameObject::setupCustomSprites @ 0x10044e3fa", "GameObject::setupCustomSprites @ 0x10044e486", "GameObject::setupCustomSprites @ 0x10044e512", "GameObject::setupCustomSprites @ 0x100453aad", "GameObject::setupCustomSprites @ 0x10045631e", "GameObject::setupCustomSprites @ 0x1004564a1", "GameObject::setupCustomSprites @ 0x100458a2b", "GameObject::setupCustomSprites @ 0x100459de9", "GameObject::setupCustomSprites @ 0x10045b56e", "GameObject::setupCustomSprites @ 0x10045bb8c", "GameObject::setupCustomSprites @ 0x10045bc2a", "GameObject::setupCustomSprites @ 0x10045be37", "GameObject::setupCustomSprites @ 0x10045bfa4", "GameObject::setupCustomSprites @ 0x10045c050", "GameObject::setupCustomSprites @ 0x10045c0fc", "GameObject::setupCustomSprites @ 0x10045ccbb", "GameObject::setupCustomSprites @ 0x10045cea8", "GameObject::setupCustomSprites @ 0x10045cf21"], "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"}