{"type": "func", "start": 5371170352, "end": 5371170449, "name": "ColorActionSprite::init", "pseudocode": "// \n// ColorActionSprite::init from 0x140258e30 to 0x140258e91 (97 bytes)\n// \n// 4 xrefs:\n// > GJEffectManager::getColorSprite @ 0x14025bda9\n// > GJEffectManager::getColorSprite @ 0x14025bd45\n// > <???> @ 0x140568608\n// > <???> @ 0x1406cfbdc\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\nbool ColorActionSprite::init(ColorActionSprite *a1)\n{\n  bool result; // al\n\n  result = cocos2d::CCNode::init(a1);\n  if ( result )\n  {\n    *(_WORD *)&a1->m_copyColor.r = -1;\n    a1->m_copyColor.b = -1;\n    *(_WORD *)&a1->m_color.r = -1;\n    a1->m_color.b = -1;\n    a1->m_opacity = 255.0;\n    return 1;\n  }\n  return result;\n}", "assembly": "; \n; ColorActionSprite::init from 0x140258e30 to 0x140258e91 (97 bytes)\n; \n; 4 xrefs:\n; > GJEffectManager::getColorSprite @ 0x14025bda9\n; > GJEffectManager::getColorSprite @ 0x14025bd45\n; > <???> @ 0x140568608\n; > <???> @ 0x1406cfbdc\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    rbx                                                            ; +0x0, 0x140258e30\nsub     rsp, 20h                                                       ; +0x2, 0x140258e32\nmov     rbx, rcx                                                       ; +0x6, 0x140258e36\ncall    cs:__imp_?init@CCNode@cocos2d@@UEAA_NXZ; cocos2d::CCNode::init(void) ; +0x9, 0x140258e39\ntest    al, al                                                         ; +0xf, 0x140258e3f\njnz     short loc_140258E49                                            ; +0x11, 0x140258e41\nadd     rsp, 20h                                                       ; +0x13, 0x140258e43\npop     rbx                                                            ; +0x17, 0x140258e47\nretn                                                                   ; +0x18, 0x140258e48\nmovzx   eax, cs:word_140529AB0                                         ; +0x19, 0x140258e49\nmov     [rbx+147h], ax                                                 ; +0x20, 0x140258e50\nmovzx   eax, cs:byte_140529AB2                                         ; +0x27, 0x140258e57\nmov     [rbx+149h], al                                                 ; +0x2e, 0x140258e5e\nmovzx   eax, cs:word_140529AB0                                         ; +0x34, 0x140258e64\nmov     [rbx+144h], ax                                                 ; +0x3b, 0x140258e6b\nmovzx   eax, cs:byte_140529AB2                                         ; +0x42, 0x140258e72\nmov     [rbx+146h], al                                                 ; +0x49, 0x140258e79\nmov     al, 1                                                          ; +0x4f, 0x140258e7f\nmov     dword ptr [rbx+140h], 437F0000h                                ; +0x51, 0x140258e81\nadd     rsp, 20h                                                       ; +0x5b, 0x140258e8b\npop     rbx                                                            ; +0x5f, 0x140258e8f\nretn                                                                   ; +0x60, 0x140258e90", "xrefs": ["GJEffectManager::getColorSprite @ 0x14025bda9", "GJEffectManager::getColorSprite @ 0x14025bd45", "<???> @ 0x140568608", "<???> @ 0x1406cfbdc"], "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"}