{"type": "func", "start": 6442523120, "end": 6442523179, "name": "cocos2d::extension::CCEditBoxImplWin::setPlaceholderFont", "pseudocode": "// \n// cocos2d::extension::CCEditBoxImplWin::setPlaceholderFont from 0x1800119f0 to 0x180011a2b (59 bytes)\n// \n// 3 xrefs:\n// > <???> @ 0x180028168\n// > <???> @ 0x18002fdf8\n// > <???> @ 0x18004a2cc\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 cocos2d::extension::CCEditBoxImplWin::setPlaceholderFont(\n        cocos2d::extension::CCEditBoxImplWin *this,\n        const char *a2,\n        int a3)\n{\n  cocos2d::CCLabelTTF *v5; // rcx\n\n  v5 = *((cocos2d::CCLabelTTF **)this + 4);\n  if ( v5 )\n  {\n    cocos2d::CCLabelTTF::setFontName(v5, a2);\n    cocos2d::CCLabelTTF::setFontSize(*((cocos2d::CCLabelTTF **)this + 4), (float)a3);\n  }\n}", "assembly": "; \n; cocos2d::extension::CCEditBoxImplWin::setPlaceholderFont from 0x1800119f0 to 0x180011a2b (59 bytes)\n; \n; 3 xrefs:\n; > <???> @ 0x180028168\n; > <???> @ 0x18002fdf8\n; > <???> @ 0x18004a2cc\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\nmov     [rsp+arg_0], rbx                                               ; +0x0, 0x1800119f0\npush    rdi                                                            ; +0x5, 0x1800119f5\nsub     rsp, 20h                                                       ; +0x6, 0x1800119f6\nmov     rbx, rcx                                                       ; +0xa, 0x1800119fa\nmov     edi, r8d                                                       ; +0xd, 0x1800119fd\nmov     rcx, [rcx+20h]                                                 ; +0x10, 0x180011a00\ntest    rcx, rcx                                                       ; +0x14, 0x180011a04\njz      short loc_180011A20                                            ; +0x17, 0x180011a07\ncall    cs:?setFontName@CCLabelTTF@cocos2d@@QEAAXPEBD@Z; cocos2d::CCLabelTTF::setFontName(char const *) ; +0x19, 0x180011a09\nmov     rcx, [rbx+20h]                                                 ; +0x1f, 0x180011a0f\nmovd    xmm1, edi                                                      ; +0x23, 0x180011a13\ncvtdq2ps xmm1, xmm1                                                    ; +0x27, 0x180011a17\ncall    cs:?setFontSize@CCLabelTTF@cocos2d@@QEAAXM@Z; cocos2d::CCLabelTTF::setFontSize(float) ; +0x2a, 0x180011a1a\nmov     rbx, [rsp+28h+arg_0]                                           ; +0x30, 0x180011a20\nadd     rsp, 20h                                                       ; +0x35, 0x180011a25\npop     rdi                                                            ; +0x39, 0x180011a29\nretn                                                                   ; +0x3a, 0x180011a2a", "xrefs": ["<???> @ 0x180028168", "<???> @ 0x18002fdf8", "<???> @ 0x18004a2cc"], "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"}