{"type": "func", "start": 4301115280, "end": 4301115397, "name": "GJRobotSprite::updateGlowColor", "pseudocode": "// \n// GJRobotSprite::updateGlowColor from 0x1005dcf90 to 0x1005dd005 (117 bytes)\n// \n// 6 xrefs:\n// > SimplePlayer::updateColors @ 0x10036ea07\n// > SimplePlayer::updateColors @ 0x10036ea69\n// > PlayerObject::createRobot @ 0x1003fc1b1\n// > PlayerObject::createSpider @ 0x1003fc54c\n// > PlayerObject::updateGlowColor @ 0x10041a398\n// > PlayerObject::updateGlowColor @ 0x10041a3b3\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\n// local variable allocation has failed, the output may be wrong!\nvoid __fastcall GJRobotSprite::updateGlowColor(GJRobotSprite *a1, cocos2d::ccColor3B a2, bool a3)\n{\n  __int64 v3; // rax\n  __int64 v4; // rsi\n  __int64 v5; // rbx\n  unsigned int v6; // r14d\n  __int64 v7; // rax\n  __int16 v8; // [rsp+0h] [rbp-1Ch] BYREF\n  char v9; // [rsp+2h] [rbp-1Ah]\n  char v10; // [rsp+3h] [rbp-19h]\n\n  v10 = HIBYTE(v3);\n  v8 = *(_WORD *)&a2.r;\n  v4 = *(unsigned __int16 *)&a2.b;\n  v9 = v4;\n  v5 = ((__int64 (__fastcall *)(cocos2d::CCSprite *, __int64, bool))a1->m_glowSprite->getChildren)(\n         a1->m_glowSprite,\n         v4,\n         a3);\n  if ( (unsigned int)sub_100720070(v5) )\n  {\n    v6 = 0;\n    do\n    {\n      v7 = sub_1007200C0(v5, v6);\n      (*(void (__fastcall **)(__int64, __int16 *))(*(_QWORD *)v7 + 944LL))(v7, &v8);\n      ++v6;\n    }\n    while ( v6 < (unsigned int)sub_100720070(v5) );\n  }\n}", "assembly": "; \n; GJRobotSprite::updateGlowColor from 0x1005dcf90 to 0x1005dd005 (117 bytes)\n; \n; 6 xrefs:\n; > SimplePlayer::updateColors @ 0x10036ea07\n; > SimplePlayer::updateColors @ 0x10036ea69\n; > PlayerObject::createRobot @ 0x1003fc1b1\n; > PlayerObject::createSpider @ 0x1003fc54c\n; > PlayerObject::updateGlowColor @ 0x10041a398\n; > PlayerObject::updateGlowColor @ 0x10041a3b3\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, 0x1005dcf90\nmov     rbp, rsp                                                       ; +0x1, 0x1005dcf91\npush    r15                                                            ; +0x4, 0x1005dcf94\npush    r14                                                            ; +0x6, 0x1005dcf96\npush    rbx                                                            ; +0x8, 0x1005dcf98\npush    rax                                                            ; +0x9, 0x1005dcf99\nmov     [rbp+var_1C], si                                               ; +0xa, 0x1005dcf9a\nshr     esi, 10h                                                       ; +0xe, 0x1005dcf9e\nmov     [rbp+var_1A], sil                                              ; +0x11, 0x1005dcfa1\nmov     rdi, [rdi+2E8h]                                                ; +0x15, 0x1005dcfa5\nmov     rax, [rdi]                                                     ; +0x1c, 0x1005dcfac\ncall    qword ptr [rax+1D8h]                                           ; +0x1f, 0x1005dcfaf\nmov     rbx, rax                                                       ; +0x25, 0x1005dcfb5\nmov     rdi, rax                                                       ; +0x28, 0x1005dcfb8\ncall    sub_100720070                                                  ; +0x2b, 0x1005dcfbb\ntest    eax, eax                                                       ; +0x30, 0x1005dcfc0\njz      short loc_1005DCFFA                                            ; +0x32, 0x1005dcfc2\nxor     r14d, r14d                                                     ; +0x34, 0x1005dcfc4\nlea     r15, [rbp+var_1C]                                              ; +0x37, 0x1005dcfc7\nnop     dword ptr [rax+rax+00h]                                        ; +0x3b, 0x1005dcfcb\nmov     rdi, rbx                                                       ; +0x40, 0x1005dcfd0\nmov     esi, r14d                                                      ; +0x43, 0x1005dcfd3\ncall    sub_1007200C0                                                  ; +0x46, 0x1005dcfd6\nmov     rcx, [rax]                                                     ; +0x4b, 0x1005dcfdb\nmov     rdi, rax                                                       ; +0x4e, 0x1005dcfde\nmov     rsi, r15                                                       ; +0x51, 0x1005dcfe1\ncall    qword ptr [rcx+3B0h]                                           ; +0x54, 0x1005dcfe4\ninc     r14d                                                           ; +0x5a, 0x1005dcfea\nmov     rdi, rbx                                                       ; +0x5d, 0x1005dcfed\ncall    sub_100720070                                                  ; +0x60, 0x1005dcff0\ncmp     r14d, eax                                                      ; +0x65, 0x1005dcff5\njb      short loc_1005DCFD0                                            ; +0x68, 0x1005dcff8\nadd     rsp, 8                                                         ; +0x6a, 0x1005dcffa\npop     rbx                                                            ; +0x6e, 0x1005dcffe\npop     r14                                                            ; +0x6f, 0x1005dcfff\npop     r15                                                            ; +0x71, 0x1005dd001\npop     rbp                                                            ; +0x73, 0x1005dd003\nretn                                                                   ; +0x74, 0x1005dd004", "xrefs": ["SimplePlayer::updateColors @ 0x10036ea07", "SimplePlayer::updateColors @ 0x10036ea69", "PlayerObject::createRobot @ 0x1003fc1b1", "PlayerObject::createSpider @ 0x1003fc54c", "PlayerObject::updateGlowColor @ 0x10041a398", "PlayerObject::updateGlowColor @ 0x10041a3b3"], "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"}