{"type": "func", "start": 6442520672, "end": 6442520771, "name": "cocos2d::ccDrawColor4B", "pseudocode": "// \n// cocos2d::ccDrawColor4B from 0x180011060 to 0x1800110c3 (99 bytes)\n// \n// 1 xrefs:\n// > <???> @ 0x18014cf68\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:21:22 +0000\n// \n\nvoid __fastcall cocos2d::ccDrawColor4B(cocos2d *this, unsigned __int8 a2, unsigned __int8 a3, unsigned __int8 a4)\n{\n  flt_1801ACB60 = (float)(unsigned __int8)this / 255.0;\n  *(float *)&dword_1801ACB64 = (float)a2 / 255.0;\n  *(float *)&dword_1801ACB68 = (float)a3 / 255.0;\n  *(float *)&dword_1801ACB6C = (float)a4 / 255.0;\n}", "assembly": "; \n; cocos2d::ccDrawColor4B from 0x180011060 to 0x1800110c3 (99 bytes)\n; \n; 1 xrefs:\n; > <???> @ 0x18014cf68\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:21:22 +0000\n; \nmovss   xmm2, cs:dword_1800EB878                                       ; +0x0, 0x180011060\nmovzx   eax, cl                                                        ; +0x8, 0x180011068\nmovd    xmm0, eax                                                      ; +0xb, 0x18001106b\ncvtdq2ps xmm0, xmm0                                                    ; +0xf, 0x18001106f\nmovzx   eax, dl                                                        ; +0x12, 0x180011072\ndivss   xmm0, xmm2                                                     ; +0x15, 0x180011075\nmovss   cs:flt_1801ACB60, xmm0                                         ; +0x19, 0x180011079\nmovd    xmm0, eax                                                      ; +0x21, 0x180011081\ncvtdq2ps xmm0, xmm0                                                    ; +0x25, 0x180011085\nmovzx   eax, r8b                                                       ; +0x28, 0x180011088\nmovd    xmm1, eax                                                      ; +0x2c, 0x18001108c\ndivss   xmm0, xmm2                                                     ; +0x30, 0x180011090\nmovzx   eax, r9b                                                       ; +0x34, 0x180011094\ncvtdq2ps xmm1, xmm1                                                    ; +0x38, 0x180011098\nmovss   cs:dword_1801ACB64, xmm0                                       ; +0x3b, 0x18001109b\nmovd    xmm0, eax                                                      ; +0x43, 0x1800110a3\ncvtdq2ps xmm0, xmm0                                                    ; +0x47, 0x1800110a7\ndivss   xmm1, xmm2                                                     ; +0x4a, 0x1800110aa\ndivss   xmm0, xmm2                                                     ; +0x4e, 0x1800110ae\nmovss   cs:dword_1801ACB68, xmm1                                       ; +0x52, 0x1800110b2\nmovss   cs:dword_1801ACB6C, xmm0                                       ; +0x5a, 0x1800110ba\nretn                                                                   ; +0x62, 0x1800110c2", "xrefs": ["<???> @ 0x18014cf68"], "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"}