{"type": "func", "start": 4296377440, "end": 4296377585, "name": "CCAlertCircle::draw", "pseudocode": "// \n// CCAlertCircle::draw from 0x100158460 to 0x1001584f1 (145 bytes)\n// \n// 1 xrefs:\n// > <???> @ 0x100ac6f68\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 12:25:05 +0000\n// \n\n__int64 __fastcall CCAlertCircle::draw(__int64 a1)\n{\n  cocos2d::ccGLBlendFunc(0x302u, 1u);\n  glLineWidth(2.0);\n  cocos2d::ccDrawColor4B(\n    (unsigned __int8)*(_WORD *)(*(_QWORD *)(a1 + 320) + 340LL),\n    HIBYTE(*(unsigned __int16 *)(*(_QWORD *)(a1 + 320) + 340LL)),\n    *(unsigned __int8 *)(*(_QWORD *)(a1 + 320) + 342LL),\n    (unsigned __int8)(int)*(float *)(*(_QWORD *)(a1 + 320) + 336LL));\n  cocos2d::ccDrawCircle_1(\n    &unk_100BE1308,\n    30,\n    0,\n    COERCE_DOUBLE((unsigned __int64)*(_DWORD *)(*(_QWORD *)(a1 + 320) + 332LL)),\n    0.0);\n  return cocos2d::ccGLBlendFunc(1u, 0x303u);\n}", "assembly": "; \n; CCAlertCircle::draw from 0x100158460 to 0x1001584f1 (145 bytes)\n; \n; 1 xrefs:\n; > <???> @ 0x100ac6f68\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 12:25:05 +0000\n; \npush    rbp                                                            ; +0x0, 0x100158460\nmov     rbp, rsp                                                       ; +0x1, 0x100158461\npush    rbx                                                            ; +0x4, 0x100158464\npush    rax                                                            ; +0x5, 0x100158465\nmov     rbx, rdi                                                       ; +0x6, 0x100158466\nmov     edi, 302h; sfactor                                             ; +0x9, 0x100158469\nmov     esi, 1; dfactor                                                ; +0xe, 0x10015846e\ncall    cocos2d__ccGLBlendFunc                                         ; +0x13, 0x100158473\nmovss   xmm0, cs:width; width                                          ; +0x18, 0x100158478\ncall    _glLineWidth                                                   ; +0x20, 0x100158480\nmov     rax, [rbx+140h]                                                ; +0x25, 0x100158485\nmovzx   esi, word ptr [rax+154h]                                       ; +0x2c, 0x10015848c\nmovzx   edx, byte ptr [rax+156h]                                       ; +0x33, 0x100158493\nmov     ecx, edx                                                       ; +0x3a, 0x10015849a\nshl     ecx, 10h                                                       ; +0x3c, 0x10015849c\nor      ecx, esi                                                       ; +0x3f, 0x10015849f\nshr     esi, 8                                                         ; +0x41, 0x1001584a1\ncvttss2si eax, dword ptr [rax+150h]                                    ; +0x44, 0x1001584a4\nmovzx   edi, cl                                                        ; +0x4c, 0x1001584ac\nmovzx   ecx, al                                                        ; +0x4f, 0x1001584af\ncall    cocos2d__ccDrawColor4B                                         ; +0x52, 0x1001584b2\nmov     rax, [rbx+140h]                                                ; +0x57, 0x1001584b7\nmovss   xmm0, dword ptr [rax+14Ch]                                     ; +0x5e, 0x1001584be\nlea     rdi, unk_100BE1308                                             ; +0x66, 0x1001584c6\nxorps   xmm1, xmm1                                                     ; +0x6d, 0x1001584cd\nmov     esi, 1Eh                                                       ; +0x70, 0x1001584d0\nxor     edx, edx                                                       ; +0x75, 0x1001584d5\ncall    cocos2d__ccDrawCircle_1                                        ; +0x77, 0x1001584d7\nmov     edi, 1; sfactor                                                ; +0x7c, 0x1001584dc\nmov     esi, 303h; dfactor                                             ; +0x81, 0x1001584e1\nadd     rsp, 8                                                         ; +0x86, 0x1001584e6\npop     rbx                                                            ; +0x8a, 0x1001584ea\npop     rbp                                                            ; +0x8b, 0x1001584eb\njmp     cocos2d__ccGLBlendFunc                                         ; +0x8c, 0x1001584ec", "xrefs": ["<???> @ 0x100ac6f68"], "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"}