{"type": "func", "start": 4296016448, "end": 4296016582, "name": "GJBaseGameLayer::playerIntersectsCircle", "pseudocode": "// \n// GJBaseGameLayer::playerIntersectsCircle from 0x100100240 to 0x1001002c6 (134 bytes)\n// \n// 0 xrefs:\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:21:20 +0000\n// \n\nbool __fastcall GJBaseGameLayer::playerIntersectsCircle(__int64 a1, __int64 a2, __int64 a3)\n{\n  __int64 v4; // r15\n  __int64 v5; // rax\n  _BYTE v7[8]; // [rsp+0h] [rbp-30h] BYREF\n  float v8; // [rsp+8h] [rbp-28h]\n  float ObjectRadius; // [rsp+Ch] [rbp-24h]\n\n  v4 = (*(__int64 (__fastcall **)(__int64))(*(_QWORD *)a2 + 192LL))(a2);\n  (*(void (__fastcall **)(_BYTE *, __int64))(*(_QWORD *)a3 + 1360LL))(v7, a3);\n  v8 = cocos2d::ccpDistance(v4, v7);\n  ObjectRadius = GameObject::getObjectRadius(a3);\n  v5 = (*(__int64 (__fastcall **)(__int64))(*(_QWORD *)a2 + 1328LL))(a2);\n  return (float)((float)(*(float *)(v5 + 8) * 0.5) + ObjectRadius) >= v8;\n}", "assembly": "; \n; GJBaseGameLayer::playerIntersectsCircle from 0x100100240 to 0x1001002c6 (134 bytes)\n; \n; 0 xrefs:\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:21:20 +0000\n; \npush    rbp                                                            ; +0x0, 0x100100240\nmov     rbp, rsp                                                       ; +0x1, 0x100100241\npush    r15                                                            ; +0x4, 0x100100244\npush    r14                                                            ; +0x6, 0x100100246\npush    r12                                                            ; +0x8, 0x100100248\npush    rbx                                                            ; +0xa, 0x10010024a\nsub     rsp, 10h                                                       ; +0xb, 0x10010024b\nmov     rbx, rdx                                                       ; +0xf, 0x10010024f\nmov     r14, rsi                                                       ; +0x12, 0x100100252\nmov     rax, [rsi]                                                     ; +0x15, 0x100100255\nmov     rdi, rsi                                                       ; +0x18, 0x100100258\ncall    qword ptr [rax+0C0h]                                           ; +0x1b, 0x10010025b\nmov     r15, rax                                                       ; +0x21, 0x100100261\nmov     rax, [rbx]                                                     ; +0x24, 0x100100264\nlea     r12, [rbp+var_30]                                              ; +0x27, 0x100100267\nmov     rdi, r12                                                       ; +0x2b, 0x10010026b\nmov     rsi, rbx                                                       ; +0x2e, 0x10010026e\ncall    qword ptr [rax+550h]                                           ; +0x31, 0x100100271\nmov     rdi, r15                                                       ; +0x37, 0x100100277\nmov     rsi, r12                                                       ; +0x3a, 0x10010027a\ncall    cocos2d__ccpDistance                                           ; +0x3d, 0x10010027d\nmovss   [rbp+var_28], xmm0                                             ; +0x42, 0x100100282\nmov     rdi, rbx                                                       ; +0x47, 0x100100287\ncall    GameObject__getObjectRadius                                    ; +0x4a, 0x10010028a\nmovss   [rbp+var_24], xmm0                                             ; +0x4f, 0x10010028f\nmov     rax, [r14]                                                     ; +0x54, 0x100100294\nmov     rdi, r14                                                       ; +0x57, 0x100100297\ncall    qword ptr [rax+530h]                                           ; +0x5a, 0x10010029a\nmovss   xmm0, dword ptr [rax+8]                                        ; +0x60, 0x1001002a0\nmulss   xmm0, cs:dword_100A03578                                       ; +0x65, 0x1001002a5\naddss   xmm0, [rbp+var_24]                                             ; +0x6d, 0x1001002ad\nucomiss xmm0, [rbp+var_28]                                             ; +0x72, 0x1001002b2\nsetnb   al                                                             ; +0x76, 0x1001002b6\nadd     rsp, 10h                                                       ; +0x79, 0x1001002b9\npop     rbx                                                            ; +0x7d, 0x1001002bd\npop     r12                                                            ; +0x7e, 0x1001002be\npop     r14                                                            ; +0x80, 0x1001002c0\npop     r15                                                            ; +0x82, 0x1001002c2\npop     rbp                                                            ; +0x84, 0x1001002c4\nretn                                                                   ; +0x85, 0x1001002c5", "xrefs": [], "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"}