{"type": "func", "start": 5373639840, "end": 5373639938, "name": "LabelGameObject::addMainSpriteToParent", "pseudocode": "// \n// LabelGameObject::addMainSpriteToParent from 0x1404b3ca0 to 0x1404b3d02 (98 bytes)\n// \n// 2 xrefs:\n// > <???> @ 0x14061c3c0\n// > <???> @ 0x1406dcb18\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 LabelGameObject::addMainSpriteToParent(LabelGameObject *a1, bool a2)\n{\n  cocos2d::CCLabelBMFont *m_label; // rcx\n  __int64 v4; // [rsp+30h] [rbp+8h]\n\n  GameObject::addMainSpriteToParent(a1, a2);\n  m_label = a1->m_label;\n  if ( a1->m_shouldBlendBase )\n    v4 = 0x100000302LL;\n  else\n    v4 = 0x30300000001LL;\n  if ( m_label )\n    ((void (__fastcall *)(cocos2d::CCTextureProtocol *, __int64))m_label->setBlendFunc)(\n      &m_label->cocos2d::CCTextureProtocol,\n      v4);\n}", "assembly": "; \n; LabelGameObject::addMainSpriteToParent from 0x1404b3ca0 to 0x1404b3d02 (98 bytes)\n; \n; 2 xrefs:\n; > <???> @ 0x14061c3c0\n; > <???> @ 0x1406dcb18\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    rbx                                                            ; +0x0, 0x1404b3ca0\nsub     rsp, 20h                                                       ; +0x2, 0x1404b3ca2\nmov     rbx, rcx                                                       ; +0x6, 0x1404b3ca6\ncall    GameObject__addMainSpriteToParent                              ; +0x9, 0x1404b3ca9\ncmp     byte ptr [rbx+37Ch], 0                                         ; +0xe, 0x1404b3cae\nmov     rcx, [rbx+740h]                                                ; +0x15, 0x1404b3cb5\njz      short loc_1404B3CD0                                            ; +0x1c, 0x1404b3cbc\nmov     dword ptr [rsp+28h+arg_0], 302h                                ; +0x1e, 0x1404b3cbe\nmov     dword ptr [rsp+28h+arg_0+4], 1                                 ; +0x26, 0x1404b3cc6\njmp     short loc_1404B3CE0                                            ; +0x2e, 0x1404b3cce\nmov     dword ptr [rsp+28h+arg_0], 1                                   ; +0x30, 0x1404b3cd0\nmov     dword ptr [rsp+28h+arg_0+4], 303h                              ; +0x38, 0x1404b3cd8\ntest    rcx, rcx                                                       ; +0x40, 0x1404b3ce0\njz      short loc_1404B3CFC                                            ; +0x43, 0x1404b3ce3\nmov     rdx, [rsp+28h+arg_0]                                           ; +0x45, 0x1404b3ce5\nadd     rcx, 140h                                                      ; +0x4a, 0x1404b3cea\nmov     rax, [rcx]                                                     ; +0x51, 0x1404b3cf1\nadd     rsp, 20h                                                       ; +0x54, 0x1404b3cf4\npop     rbx                                                            ; +0x58, 0x1404b3cf8\njmp     qword ptr [rax]                                                ; +0x59, 0x1404b3cf9\nadd     rsp, 20h                                                       ; +0x5c, 0x1404b3cfc\npop     rbx                                                            ; +0x60, 0x1404b3d00\nretn                                                                   ; +0x61, 0x1404b3d01", "xrefs": ["<???> @ 0x14061c3c0", "<???> @ 0x1406dcb18"], "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"}