; ; cocos2d::CCLabelBMFont::~CCLabelBMFont from 0x1800473f0 to 0x18004754e (350 bytes) ; ; 4 xrefs: ; > sub_180047670 @ 0x1800476ce ; > sub_180047670 @ 0x18004768c ; > @ 0x1801438a8 ; > @ 0x1801b1854 ; ; This function is hookable on this platform! ; ; Using BromaIDA 8.0.0 @ https:;github.com/Stazzical/BromaIDA ; Using bindings at commit ba9f177b at Thu Jul 16 22:52:06 2026 from https:;github.com/geode-sdk/bindings ; mov [rsp+arg_0], rbx ; +0x0, 0x1800473f0 push rdi ; +0x5, 0x1800473f5 sub rsp, 20h ; +0x6, 0x1800473f6 mov rbx, rcx ; +0xa, 0x1800473fa lea rax, ??_7CCLabelBMFont@cocos2d@@6BCCNode@1@@; const cocos2d::CCLabelBMFont::`vftable'{for `cocos2d::CCNode'} ; +0xd, 0x1800473fd mov [rcx], rax ; +0x14, 0x180047404 lea rax, ??_7CCLabelBMFont@cocos2d@@6BCCTextureProtocol@1@@; const cocos2d::CCLabelBMFont::`vftable'{for `cocos2d::CCTextureProtocol'} ; +0x17, 0x180047407 mov [rcx+140h], rax ; +0x1e, 0x18004740e lea rax, ??_7CCLabelBMFont@cocos2d@@6BCCLabelProtocol@1@@; const cocos2d::CCLabelBMFont::`vftable'{for `cocos2d::CCLabelProtocol'} ; +0x25, 0x180047415 mov [rcx+168h], rax ; +0x2c, 0x18004741c lea rax, ??_7CCLabelBMFont@cocos2d@@6BCCRGBAProtocol@1@@; const cocos2d::CCLabelBMFont::`vftable'{for `cocos2d::CCRGBAProtocol'} ; +0x33, 0x180047423 mov [rcx+170h], rax ; +0x3a, 0x18004742a mov rcx, [rcx+1E8h]; this ; +0x41, 0x180047431 test rcx, rcx ; +0x48, 0x180047438 jz short loc_180047442 ; +0x4b, 0x18004743b call ?release@CCObject@cocos2d@@QEAAXXZ; cocos2d::CCObject::release(void) ; +0x4d, 0x18004743d mov rcx, [rbx+178h]; Block ; +0x52, 0x180047442 xor edi, edi ; +0x59, 0x180047449 test rcx, rcx ; +0x5b, 0x18004744b jz short loc_18004745C ; +0x5e, 0x18004744e call j_j_free_0 ; +0x60, 0x180047450 mov [rbx+178h], rdi ; +0x65, 0x180047455 mov rcx, [rbx+1A0h]; Block ; +0x6c, 0x18004745c test rcx, rcx ; +0x73, 0x180047463 jz short loc_180047474 ; +0x76, 0x180047466 call j_j_free_0 ; +0x78, 0x180047468 mov [rbx+1A0h], rdi ; +0x7d, 0x18004746d mov rcx, [rbx+1D0h]; this ; +0x84, 0x180047474 test rcx, rcx ; +0x8b, 0x18004747b jz short loc_180047485 ; +0x8e, 0x18004747e call ?release@CCObject@cocos2d@@QEAAXXZ; cocos2d::CCObject::release(void) ; +0x90, 0x180047480 mov rdx, [rbx+1C0h] ; +0x95, 0x180047485 cmp rdx, 0Fh ; +0x9c, 0x18004748c jbe short loc_1800474C6 ; +0xa0, 0x180047490 inc rdx ; +0xa2, 0x180047492 mov rcx, [rbx+1A8h] ; +0xa5, 0x180047495 cmp rdx, 1000h ; +0xac, 0x18004749c jb short loc_1800474C1 ; +0xb3, 0x1800474a3 add rdx, 27h ; ''' ; +0xb5, 0x1800474a5 mov r8, [rcx-8] ; +0xb9, 0x1800474a9 sub rcx, r8 ; +0xbd, 0x1800474ad lea rax, [rcx-8] ; +0xc0, 0x1800474b0 cmp rax, 1Fh ; +0xc4, 0x1800474b4 ja loc_180047547 ; +0xc8, 0x1800474b8 mov rcx, r8; Block ; +0xce, 0x1800474be call j_j_free_0 ; +0xd1, 0x1800474c1 mov [rbx+1B8h], rdi ; +0xd6, 0x1800474c6 mov qword ptr [rbx+1C0h], 0Fh ; +0xdd, 0x1800474cd mov [rbx+1A8h], dil ; +0xe8, 0x1800474d8 mov rdx, [rbx+198h] ; +0xef, 0x1800474df cmp rdx, 0Fh ; +0xf6, 0x1800474e6 jbe short loc_18004751C ; +0xfa, 0x1800474ea inc rdx ; +0xfc, 0x1800474ec mov rcx, [rbx+180h] ; +0xff, 0x1800474ef cmp rdx, 1000h ; +0x106, 0x1800474f6 jb short loc_180047517 ; +0x10d, 0x1800474fd add rdx, 27h ; ''' ; +0x10f, 0x1800474ff mov r8, [rcx-8] ; +0x113, 0x180047503 sub rcx, r8 ; +0x117, 0x180047507 lea rax, [rcx-8] ; +0x11a, 0x18004750a cmp rax, 1Fh ; +0x11e, 0x18004750e ja short loc_180047547 ; +0x122, 0x180047512 mov rcx, r8; Block ; +0x124, 0x180047514 call j_j_free_0 ; +0x127, 0x180047517 mov [rbx+190h], rdi ; +0x12c, 0x18004751c mov qword ptr [rbx+198h], 0Fh ; +0x133, 0x180047523 mov [rbx+180h], dil ; +0x13e, 0x18004752e mov rcx, rbx; this ; +0x145, 0x180047535 mov rbx, [rsp+28h+arg_0] ; +0x148, 0x180047538 add rsp, 20h ; +0x14d, 0x18004753d pop rdi ; +0x151, 0x180047541 jmp ??1CCSpriteBatchNode@cocos2d@@UEAA@XZ; cocos2d::CCSpriteBatchNode::~CCSpriteBatchNode(void) ; +0x152, 0x180047542 call cs:_invalid_parameter_noinfo_noreturn ; +0x157, 0x180047547 db 0CCh ; +0x15d, 0x18004754d