{"type": "func", "start": 5371454976, "end": 5371455007, "name": "SupportLayer::onTOS", "pseudocode": "// \n// SupportLayer::onTOS from 0x14029e600 to 0x14029e61f (31 bytes)\n// \n// 3 xrefs:\n// > TOSPopup::init @ 0x14029e469\n// > SupportLayer::customSetup @ 0x1404c87d1\n// > <???> @ 0x1406d1ee0\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\n// Merged with: SupportLayer::onTOS, TOSPopup::onTOS\n__int64 __fastcall SupportLayer::onTOS(__int64 a1, __int64 a2)\n{\n  __int64 v2; // rax\n\n  v2 = cocos2d::CCApplication::sharedApplication(a1, a2);\n  return (*(__int64 (__fastcall **)(__int64, const char *))(*(_QWORD *)v2 + 88LL))(\n           v2,\n           \"https://www.robtopgames.com/tos\");\n}", "assembly": "; \n; SupportLayer::onTOS from 0x14029e600 to 0x14029e61f (31 bytes)\n; \n; 3 xrefs:\n; > TOSPopup::init @ 0x14029e469\n; > SupportLayer::customSetup @ 0x1404c87d1\n; > <???> @ 0x1406d1ee0\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\nsub     rsp, 28h                                                       ; +0x0, 0x14029e600\ncall    cs:?sharedApplication@CCApplication@cocos2d@@SAPEAV12@XZ; cocos2d::CCApplication::sharedApplication(void) ; +0x4, 0x14029e604\nlea     rdx, aHttpsWwwRobtop_1; \"https://www.robtopgames.com/tos\"      ; +0xa, 0x14029e60a\nmov     rcx, rax                                                       ; +0x11, 0x14029e611\nmov     r8, [rax]                                                      ; +0x14, 0x14029e614\nadd     rsp, 28h                                                       ; +0x17, 0x14029e617\njmp     qword ptr [r8+58h]                                             ; +0x1b, 0x14029e61b", "xrefs": ["TOSPopup::init @ 0x14029e469", "SupportLayer::customSetup @ 0x1404c87d1", "<???> @ 0x1406d1ee0"], "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"}