{"type": "func", "start": 4296511664, "end": 4296511809, "name": "CCAlertCircle::draw", "pseudocode": "// \n// CCAlertCircle::draw from 0x1001790b0 to 0x100179141 (145 bytes)\n// \n// 1 xrefs:\n// > <???> @ 0x1008c36a8\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\nvoid __fastcall CCAlertCircle::draw(CCAlertCircle *a1)\n{\n  cocos2d::ccGLBlendFunc(0x302u, 1u);\n  glLineWidth(2.0);\n  cocos2d::ccDrawColor4B(\n    *(_WORD *)&a1->m_circleAlert->m_color.r,\n    HIBYTE(*(_WORD *)&a1->m_circleAlert->m_color.r),\n    a1->m_circleAlert->m_color.b,\n    (int)a1->m_circleAlert->m_opacity);\n  cocos2d::ccDrawCircle_1(&stru_10099F090, a1->m_circleAlert->m_radius, 0.0, 0x1Eu, 0);\n  cocos2d::ccGLBlendFunc(1u, 0x303u);\n}", "assembly": "; \n; CCAlertCircle::draw from 0x1001790b0 to 0x100179141 (145 bytes)\n; \n; 1 xrefs:\n; > <???> @ 0x1008c36a8\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, 0x1001790b0\nmov     rbp, rsp                                                       ; +0x1, 0x1001790b1\npush    rbx                                                            ; +0x4, 0x1001790b4\npush    rax                                                            ; +0x5, 0x1001790b5\nmov     rbx, rdi                                                       ; +0x6, 0x1001790b6\nmov     edi, 302h; sfactor                                             ; +0x9, 0x1001790b9\nmov     esi, 1; dfactor                                                ; +0xe, 0x1001790be\ncall    cocos2d__ccGLBlendFunc                                         ; +0x13, 0x1001790c3\nmovss   xmm0, cs:width; width                                          ; +0x18, 0x1001790c8\ncall    _glLineWidth                                                   ; +0x20, 0x1001790d0\nmov     rax, [rbx+140h]                                                ; +0x25, 0x1001790d5\nmovzx   esi, word ptr [rax+154h]                                       ; +0x2c, 0x1001790dc\nmovzx   edx, byte ptr [rax+156h]                                       ; +0x33, 0x1001790e3\nmov     ecx, edx                                                       ; +0x3a, 0x1001790ea\nshl     ecx, 10h                                                       ; +0x3c, 0x1001790ec\nor      ecx, esi                                                       ; +0x3f, 0x1001790ef\nshr     esi, 8                                                         ; +0x41, 0x1001790f1\ncvttss2si eax, dword ptr [rax+150h]                                    ; +0x44, 0x1001790f4\nmovzx   edi, cl                                                        ; +0x4c, 0x1001790fc\nmovzx   ecx, al                                                        ; +0x4f, 0x1001790ff\ncall    cocos2d__ccDrawColor4B                                         ; +0x52, 0x100179102\nmov     rax, [rbx+140h]                                                ; +0x57, 0x100179107\nmovss   xmm0, dword ptr [rax+14Ch]                                     ; +0x5e, 0x10017910e\nlea     rdi, stru_10099F090                                            ; +0x66, 0x100179116\nxorps   xmm1, xmm1                                                     ; +0x6d, 0x10017911d\nmov     esi, 1Eh                                                       ; +0x70, 0x100179120\nxor     edx, edx                                                       ; +0x75, 0x100179125\ncall    cocos2d__ccDrawCircle_1                                        ; +0x77, 0x100179127\nmov     edi, 1; sfactor                                                ; +0x7c, 0x10017912c\nmov     esi, 303h; dfactor                                             ; +0x81, 0x100179131\nadd     rsp, 8                                                         ; +0x86, 0x100179136\npop     rbx                                                            ; +0x8a, 0x10017913a\npop     rbp                                                            ; +0x8b, 0x10017913b\njmp     cocos2d__ccGLBlendFunc                                         ; +0x8c, 0x10017913c", "xrefs": ["<???> @ 0x1008c36a8"], "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"}